com.amazonaws.services.ec2.model
Class AccountAttribute

java.lang.Object
  extended by com.amazonaws.services.ec2.model.AccountAttribute
All Implemented Interfaces:
java.io.Serializable

public class AccountAttribute
extends java.lang.Object
implements java.io.Serializable

Describes an account attribute.

See Also:
Serialized Form

Constructor Summary
AccountAttribute()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAttributeName()
          The name of the account attribute.
 java.util.List<AccountAttributeValue> getAttributeValues()
          One or more values for the account attribute.
 int hashCode()
           
 void setAttributeName(java.lang.String attributeName)
          The name of the account attribute.
 void setAttributeValues(java.util.Collection<AccountAttributeValue> attributeValues)
          One or more values for the account attribute.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AccountAttribute withAttributeName(java.lang.String attributeName)
          The name of the account attribute.
 AccountAttribute withAttributeValues(AccountAttributeValue... attributeValues)
          One or more values for the account attribute.
 AccountAttribute withAttributeValues(java.util.Collection<AccountAttributeValue> attributeValues)
          One or more values for the account attribute.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountAttribute

public AccountAttribute()
Method Detail

getAttributeName

public java.lang.String getAttributeName()
The name of the account attribute.

Returns:
The name of the account attribute.

setAttributeName

public void setAttributeName(java.lang.String attributeName)
The name of the account attribute.

Parameters:
attributeName - The name of the account attribute.

withAttributeName

public AccountAttribute withAttributeName(java.lang.String attributeName)
The name of the account attribute.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributeName - The name of the account attribute.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttributeValues

public java.util.List<AccountAttributeValue> getAttributeValues()
One or more values for the account attribute.

Returns:
One or more values for the account attribute.

setAttributeValues

public void setAttributeValues(java.util.Collection<AccountAttributeValue> attributeValues)
One or more values for the account attribute.

Parameters:
attributeValues - One or more values for the account attribute.

withAttributeValues

public AccountAttribute withAttributeValues(AccountAttributeValue... attributeValues)
One or more values for the account attribute.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributeValues - One or more values for the account attribute.
Returns:
A reference to this updated object so that method calls can be chained together.

withAttributeValues

public AccountAttribute withAttributeValues(java.util.Collection<AccountAttributeValue> attributeValues)
One or more values for the account attribute.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributeValues - One or more values for the account attribute.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.