Class DeletableItem
- java.lang.Object
-
- com.amazonaws.services.simpledb.model.DeletableItem
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DeletableItem extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeletableItem()
Default constructor for DeletableItem object.DeletableItem(String name, List<Attribute> attributes)
Constructs a new DeletableItem object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeletableItem
clone()
boolean
equals(Object obj)
List<Attribute>
getAttributes()
String
getName()
int
hashCode()
void
setAttributes(Collection<Attribute> attributes)
void
setName(String name)
String
toString()
Returns a string representation of this object; useful for testing and debugging.DeletableItem
withAttributes(Attribute... attributes)
NOTE: This method appends the values to the existing list (if any).DeletableItem
withAttributes(Collection<Attribute> attributes)
DeletableItem
withName(String name)
-
-
-
Method Detail
-
setName
public void setName(String name)
- Parameters:
name
-
-
getName
public String getName()
- Returns:
-
withName
public DeletableItem withName(String name)
- Parameters:
name
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttributes
public void setAttributes(Collection<Attribute> attributes)
- Parameters:
attributes
-
-
withAttributes
public DeletableItem withAttributes(Attribute... 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
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
public DeletableItem withAttributes(Collection<Attribute> attributes)
- Parameters:
attributes
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeletableItem clone()
-
-