@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InventoryItemAttribute extends Object implements Serializable, Cloneable, StructuredPojo
Attributes are the entries within the inventory item content. It contains name and value.
| Constructor and Description |
|---|
InventoryItemAttribute() |
| Modifier and Type | Method and Description |
|---|---|
InventoryItemAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getDataType()
The data type of the inventory item attribute.
|
String |
getName()
Name of the inventory item attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataType(InventoryAttributeDataType dataType)
The data type of the inventory item attribute.
|
void |
setDataType(String dataType)
The data type of the inventory item attribute.
|
void |
setName(String name)
Name of the inventory item attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InventoryItemAttribute |
withDataType(InventoryAttributeDataType dataType)
The data type of the inventory item attribute.
|
InventoryItemAttribute |
withDataType(String dataType)
The data type of the inventory item attribute.
|
InventoryItemAttribute |
withName(String name)
Name of the inventory item attribute.
|
public void setName(String name)
Name of the inventory item attribute.
name - Name of the inventory item attribute.public String getName()
Name of the inventory item attribute.
public InventoryItemAttribute withName(String name)
Name of the inventory item attribute.
name - Name of the inventory item attribute.public void setDataType(String dataType)
The data type of the inventory item attribute.
dataType - The data type of the inventory item attribute.InventoryAttributeDataTypepublic String getDataType()
The data type of the inventory item attribute.
InventoryAttributeDataTypepublic InventoryItemAttribute withDataType(String dataType)
The data type of the inventory item attribute.
dataType - The data type of the inventory item attribute.InventoryAttributeDataTypepublic void setDataType(InventoryAttributeDataType dataType)
The data type of the inventory item attribute.
dataType - The data type of the inventory item attribute.InventoryAttributeDataTypepublic InventoryItemAttribute withDataType(InventoryAttributeDataType dataType)
The data type of the inventory item attribute.
dataType - The data type of the inventory item attribute.InventoryAttributeDataTypepublic String toString()
toString in class ObjectObject.toString()public InventoryItemAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.