Class Item
java.lang.Object
com.amazonaws.services.simpledb.model.Item
- All Implemented Interfaces:
Serializable, Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA list of attributes.getName()The name of the item.inthashCode()voidsetAlternateNameEncoding(String alternateNameEncoding) voidsetAttributes(Collection<Attribute> attributes) A list of attributes.voidThe name of the item.toString()Returns a string representation of this object; useful for testing and debugging.withAlternateNameEncoding(String alternateNameEncoding) withAttributes(Attribute... attributes) A list of attributes.withAttributes(Collection<Attribute> attributes) A list of attributes.The name of the item.
-
Constructor Details
-
Item
public Item()Default constructor for Item object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
Item
-
-
Method Details
-
setName
-
getName
-
withName
-
setAlternateNameEncoding
- Parameters:
alternateNameEncoding-
-
getAlternateNameEncoding
-
withAlternateNameEncoding
-
getAttributes
-
setAttributes
A list of attributes.- Parameters:
attributes- A list of attributes.
-
withAttributes
A list of attributes.NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)orwithAttributes(java.util.Collection)if you want to override the existing values.- Parameters:
attributes- A list of attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
A list of attributes.- Parameters:
attributes- A list of attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-