public class DeletableItem
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DeletableItem()
Default constructor for a new DeletableItem object.
|
DeletableItem(java.lang.String name,
java.util.List<Attribute> attributes)
Constructs a new DeletableItem object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Attribute> |
getAttributes()
Returns the value of the Attributes property for this object.
|
java.lang.String |
getName()
Returns the value of the Name property for this object.
|
int |
hashCode() |
void |
setAttributes(java.util.Collection<Attribute> attributes)
Sets the value of the Attributes property for this object.
|
void |
setName(java.lang.String name)
Sets the value of the Name property for this object.
|
java.lang.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(java.util.Collection<Attribute> attributes)
Sets the value of the Attributes property for this object.
|
DeletableItem |
withName(java.lang.String name)
Sets the value of the Name property for this object.
|
public DeletableItem()
public DeletableItem(java.lang.String name,
java.util.List<Attribute> attributes)
name - attributes - public java.lang.String getName()
public void setName(java.lang.String name)
name - The new value for the Name property for this object.public DeletableItem withName(java.lang.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 java.util.List<Attribute> getAttributes()
public void setAttributes(java.util.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(java.util.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.