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