Package com.amazonaws.services.ec2.model
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()
boolean
The name of the account attribute.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.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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-