public class DeletableItem extends Object implements Serializable
Constructor and Description |
---|
DeletableItem()
Default constructor for a new DeletableItem object.
|
DeletableItem(String name,
List<Attribute> attributes)
Constructs a new DeletableItem object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Attribute> |
getAttributes()
Returns the value of the Attributes property for this object.
|
String |
getName()
Returns the value of the Name property for this object.
|
int |
hashCode() |
void |
setAttributes(Collection<Attribute> attributes)
Sets the value of the Attributes property for this object.
|
void |
setName(String name)
Sets the value of the Name property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeletableItem |
withAttributes(Attribute... attributes)
Sets the value of the Attributes property for this object.
|
DeletableItem |
withAttributes(Collection<Attribute> attributes)
Sets the value of the Attributes property for this object.
|
DeletableItem |
withName(String name)
Sets the value of the Name property for this object.
|
public DeletableItem()
public String getName()
public void setName(String name)
name
- The new value for the Name property for this object.public DeletableItem withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The new value for the Name property for this object.public List<Attribute> getAttributes()
public void setAttributes(Collection<Attribute> attributes)
attributes
- The new value for the Attributes property for this object.public DeletableItem withAttributes(Attribute... attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- The new value for the Attributes property for this object.public DeletableItem withAttributes(Collection<Attribute> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- The new value for the Attributes property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.