@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ItemIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Details and type of a related item.
Constructor and Description |
---|
ItemIdentifier() |
Modifier and Type | Method and Description |
---|---|
ItemIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of related item.
|
ItemValue |
getValue()
Details about the related item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The type of related item.
|
void |
setValue(ItemValue value)
Details about the related item.
|
String |
toString()
Returns a string representation of this object.
|
ItemIdentifier |
withType(ItemType type)
The type of related item.
|
ItemIdentifier |
withType(String type)
The type of related item.
|
ItemIdentifier |
withValue(ItemValue value)
Details about the related item.
|
public void setType(String type)
The type of related item.
type
- The type of related item.ItemType
public String getType()
The type of related item.
ItemType
public ItemIdentifier withType(String type)
The type of related item.
type
- The type of related item.ItemType
public ItemIdentifier withType(ItemType type)
The type of related item.
type
- The type of related item.ItemType
public void setValue(ItemValue value)
Details about the related item.
value
- Details about the related item.public ItemValue getValue()
Details about the related item.
public ItemIdentifier withValue(ItemValue value)
Details about the related item.
value
- Details about the related item.public String toString()
toString
in class Object
Object.toString()
public ItemIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.