@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountAttribute extends Object implements Serializable, Cloneable
Describes an account attribute.
Constructor and Description |
---|
AccountAttribute() |
Modifier and Type | Method and Description |
---|---|
AccountAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the account attribute.
|
List<AccountAttributeValue> |
getAttributeValues()
The values for the account attribute.
|
int |
hashCode() |
void |
setAttributeName(String attributeName)
The name of the account attribute.
|
void |
setAttributeValues(Collection<AccountAttributeValue> attributeValues)
The values for the account attribute.
|
String |
toString()
Returns a string representation of this object.
|
AccountAttribute |
withAttributeName(String attributeName)
The name of the account attribute.
|
AccountAttribute |
withAttributeValues(AccountAttributeValue... attributeValues)
The values for the account attribute.
|
AccountAttribute |
withAttributeValues(Collection<AccountAttributeValue> attributeValues)
The values for the account attribute.
|
public void setAttributeName(String attributeName)
The name of the account attribute.
attributeName
- The name of the account attribute.public String getAttributeName()
The name of the account attribute.
public AccountAttribute withAttributeName(String attributeName)
The name of the account attribute.
attributeName
- The name of the account attribute.public List<AccountAttributeValue> getAttributeValues()
The values for the account attribute.
public void setAttributeValues(Collection<AccountAttributeValue> attributeValues)
The values for the account attribute.
attributeValues
- The values for the account attribute.public AccountAttribute withAttributeValues(AccountAttributeValue... attributeValues)
The values for the account attribute.
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
- The values for the account attribute.public AccountAttribute withAttributeValues(Collection<AccountAttributeValue> attributeValues)
The values for the account attribute.
attributeValues
- The values for the account attribute.public String toString()
toString
in class Object
Object.toString()
public AccountAttribute clone()