@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()
One or more values for the account attribute.
|
int |
hashCode() |
void |
setAttributeName(String attributeName)
The name of the account attribute.
|
void |
setAttributeValues(Collection<AccountAttributeValue> attributeValues)
One or more values for the account attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AccountAttribute |
withAttributeName(String attributeName)
The name of the account attribute.
|
AccountAttribute |
withAttributeValues(AccountAttributeValue... attributeValues)
One or more values for the account attribute.
|
AccountAttribute |
withAttributeValues(Collection<AccountAttributeValue> attributeValues)
One or more 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()
One or more values for the account attribute.
public void setAttributeValues(Collection<AccountAttributeValue> attributeValues)
One or more values for the account attribute.
attributeValues
- One or more values for the account attribute.public AccountAttribute withAttributeValues(AccountAttributeValue... attributeValues)
One or more 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
- One or more values for the account attribute.public AccountAttribute withAttributeValues(Collection<AccountAttributeValue> attributeValues)
One or more values for the account attribute.
attributeValues
- One or more values for the account attribute.public String toString()
toString
in class Object
Object.toString()
public AccountAttribute clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.