Class ReplaceableItem
java.lang.Object
com.amazonaws.services.simpledb.model.ReplaceableItem
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ReplaceableItem object.ReplaceableItem(String name) Constructs a new ReplaceableItem object.ReplaceableItem(String name, List<ReplaceableAttribute> attributes) Constructs a new ReplaceableItem object. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe list of attributes for a replaceable item.getName()The name of the replaceable item.inthashCode()voidsetAttributes(Collection<ReplaceableAttribute> attributes) The list of attributes for a replaceable item.voidThe name of the replaceable item.toString()Returns a string representation of this object; useful for testing and debugging.withAttributes(ReplaceableAttribute... attributes) The list of attributes for a replaceable item.withAttributes(Collection<ReplaceableAttribute> attributes) The list of attributes for a replaceable item.The name of the replaceable item.
-
Constructor Details
-
ReplaceableItem
public ReplaceableItem()Default constructor for ReplaceableItem object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ReplaceableItem
Constructs a new ReplaceableItem object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
name- The name of the replaceable item.
-
ReplaceableItem
Constructs a new ReplaceableItem object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
name- The name of the replaceable item.attributes- The list of attributes for a replaceable item.
-
-
Method Details
-
setName
The name of the replaceable item.- Parameters:
name- The name of the replaceable item.
-
getName
The name of the replaceable item.- Returns:
- The name of the replaceable item.
-
withName
The name of the replaceable item.- Parameters:
name- The name of the replaceable item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
The list of attributes for a replaceable item.- Returns:
- The list of attributes for a replaceable item.
-
setAttributes
The list of attributes for a replaceable item.- Parameters:
attributes- The list of attributes for a replaceable item.
-
withAttributes
The list of attributes for a replaceable item.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- The list of attributes for a replaceable item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
The list of attributes for a replaceable item.- Parameters:
attributes- The list of attributes for a replaceable item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-