@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountAttribute extends Object implements Serializable, Cloneable
A name value pair that describes an aspect of an account.
Constructor and Description |
---|
AccountAttribute() |
Modifier and Type | Method and Description |
---|---|
AccountAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the attribute.
|
List<AttributeValueTarget> |
getAttributeValues()
A list of attribute values.
|
int |
hashCode() |
void |
setAttributeName(String attributeName)
The name of the attribute.
|
void |
setAttributeValues(Collection<AttributeValueTarget> attributeValues)
A list of attribute values.
|
String |
toString()
Returns a string representation of this object.
|
AccountAttribute |
withAttributeName(String attributeName)
The name of the attribute.
|
AccountAttribute |
withAttributeValues(AttributeValueTarget... attributeValues)
A list of attribute values.
|
AccountAttribute |
withAttributeValues(Collection<AttributeValueTarget> attributeValues)
A list of attribute values.
|
public void setAttributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public String getAttributeName()
The name of the attribute.
public AccountAttribute withAttributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public List<AttributeValueTarget> getAttributeValues()
A list of attribute values.
public void setAttributeValues(Collection<AttributeValueTarget> attributeValues)
A list of attribute values.
attributeValues
- A list of attribute values.public AccountAttribute withAttributeValues(AttributeValueTarget... attributeValues)
A list of attribute values.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeValues(java.util.Collection)
or withAttributeValues(java.util.Collection)
if you
want to override the existing values.
attributeValues
- A list of attribute values.public AccountAttribute withAttributeValues(Collection<AttributeValueTarget> attributeValues)
A list of attribute values.
attributeValues
- A list of attribute values.public String toString()
toString
in class Object
Object.toString()
public AccountAttribute clone()