@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletableItem extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DeletableItem()
Default constructor for DeletableItem object.
|
DeletableItem(String name,
List<Attribute> attributes)
Constructs a new DeletableItem object.
|
Modifier and Type | Method and 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.
|
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) |
public DeletableItem()
public void setName(String name)
name
- public String getName()
public DeletableItem withName(String name)
name
- public void setAttributes(Collection<Attribute> attributes)
attributes
- public DeletableItem withAttributes(Attribute... attributes)
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- public DeletableItem withAttributes(Collection<Attribute> attributes)
attributes
- public String toString()
toString
in class Object
Object.toString()
public DeletableItem clone()