Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class AccountAttribute

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

public class AccountAttribute
extends Object
implements Serializable

Account Attribute

See Also:
Serialized Form

Constructor Summary
AccountAttribute()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAttributeName()
          Returns the value of the AttributeName property for this object.
 List<AccountAttributeValue> getAttributeValues()
          Returns the value of the AttributeValues property for this object.
 int hashCode()
           
 void setAttributeName(String attributeName)
          Sets the value of the AttributeName property for this object.
 void setAttributeValues(Collection<AccountAttributeValue> attributeValues)
          Sets the value of the AttributeValues property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AccountAttribute withAttributeName(String attributeName)
          Sets the value of the AttributeName property for this object.
 AccountAttribute withAttributeValues(AccountAttributeValue... attributeValues)
          Sets the value of the AttributeValues property for this object.
 AccountAttribute withAttributeValues(Collection<AccountAttributeValue> attributeValues)
          Sets the value of the AttributeValues property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountAttribute

public AccountAttribute()
Method Detail

getAttributeName

public String getAttributeName()
Returns the value of the AttributeName property for this object.

Returns:
The value of the AttributeName property for this object.

setAttributeName

public void setAttributeName(String attributeName)
Sets the value of the AttributeName property for this object.

Parameters:
attributeName - The new value for the AttributeName property for this object.

withAttributeName

public AccountAttribute withAttributeName(String attributeName)
Sets the value of the AttributeName property for this object.

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

Parameters:
attributeName - The new value for the AttributeName property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttributeValues

public List<AccountAttributeValue> getAttributeValues()
Returns the value of the AttributeValues property for this object.

Returns:
The value of the AttributeValues property for this object.

setAttributeValues

public void setAttributeValues(Collection<AccountAttributeValue> attributeValues)
Sets the value of the AttributeValues property for this object.

Parameters:
attributeValues - The new value for the AttributeValues property for this object.

withAttributeValues

public AccountAttribute withAttributeValues(AccountAttributeValue... attributeValues)
Sets the value of the AttributeValues property for this object.

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

Parameters:
attributeValues - The new value for the AttributeValues property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withAttributeValues

public AccountAttribute withAttributeValues(Collection<AccountAttributeValue> attributeValues)
Sets the value of the AttributeValues property for this object.

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

Parameters:
attributeValues - The new value for the AttributeValues property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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