@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.
|
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.InventoryAttributeDataType
public String getDataType()
The data type of the inventory item attribute.
InventoryAttributeDataType
public InventoryItemAttribute withDataType(String dataType)
The data type of the inventory item attribute.
dataType
- The data type of the inventory item attribute.InventoryAttributeDataType
public void setDataType(InventoryAttributeDataType dataType)
The data type of the inventory item attribute.
dataType
- The data type of the inventory item attribute.InventoryAttributeDataType
public InventoryItemAttribute withDataType(InventoryAttributeDataType dataType)
The data type of the inventory item attribute.
dataType
- The data type of the inventory item attribute.InventoryAttributeDataType
public String toString()
toString
in class Object
Object.toString()
public InventoryItemAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.