Class AccountAttribute
java.lang.Object
com.amazonaws.services.ec2.model.AccountAttribute
- All Implemented Interfaces:
Serializable, Cloneable
Describes an account attribute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe name of the account attribute.One or more values for the account attribute.inthashCode()voidsetAttributeName(String attributeName) The name of the account attribute.voidsetAttributeValues(Collection<AccountAttributeValue> attributeValues) One or more values for the account attribute.toString()Returns a string representation of this object; useful for testing and debugging.withAttributeName(String attributeName) The name of the account attribute.withAttributeValues(AccountAttributeValue... attributeValues) One or more values for the account attribute.withAttributeValues(Collection<AccountAttributeValue> attributeValues) One or more values for the account attribute.
-
Constructor Details
-
AccountAttribute
public AccountAttribute()
-
-
Method Details
-
setAttributeName
The name of the account attribute.
- Parameters:
attributeName- The name of the account attribute.
-
getAttributeName
The name of the account attribute.
- Returns:
- The name of the account attribute.
-
withAttributeName
The name of the account attribute.
- Parameters:
attributeName- The name of the account attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributeValues
One or more values for the account attribute.
- Returns:
- One or more values for the account attribute.
-
setAttributeValues
One or more values for the account attribute.
- Parameters:
attributeValues- One or more values for the account attribute.
-
withAttributeValues
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)orwithAttributeValues(java.util.Collection)if you want to override the existing values.- Parameters:
attributeValues- One or more values for the account attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributeValues
One or more values for the account attribute.
- Parameters:
attributeValues- One or more values for the account attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-