@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Item extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Item()
Default constructor for Item object.
|
Item(String name,
List<Attribute> attributes)
Constructs a new Item object.
|
Modifier and Type | Method and Description |
---|---|
Item |
clone() |
boolean |
equals(Object obj) |
String |
getAlternateNameEncoding() |
List<Attribute> |
getAttributes()
A list of attributes.
|
String |
getName()
The name of the item.
|
int |
hashCode() |
void |
setAlternateNameEncoding(String alternateNameEncoding) |
void |
setAttributes(Collection<Attribute> attributes)
A list of attributes.
|
void |
setName(String name)
The name of the item.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Item |
withAlternateNameEncoding(String alternateNameEncoding) |
Item |
withAttributes(Attribute... attributes)
A list of attributes.
|
Item |
withAttributes(Collection<Attribute> attributes)
A list of attributes.
|
Item |
withName(String name)
The name of the item.
|
public Item()
public void setName(String name)
name
- The name of the item.public String getName()
public Item withName(String name)
name
- The name of the item.public void setAlternateNameEncoding(String alternateNameEncoding)
alternateNameEncoding
- public String getAlternateNameEncoding()
public Item withAlternateNameEncoding(String alternateNameEncoding)
alternateNameEncoding
- public List<Attribute> getAttributes()
public void setAttributes(Collection<Attribute> attributes)
attributes
- A list of attributes.public Item 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
- A list of attributes.public Item withAttributes(Collection<Attribute> attributes)
attributes
- A list of attributes.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.