@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountAttribute extends Object implements Serializable, Cloneable, StructuredPojo
Displays the attributes associated with a single Amazon Web Services account.
| Constructor and Description |
|---|
AccountAttribute() |
| Modifier and Type | Method and Description |
|---|---|
AccountAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the account attribute.
|
String |
getValue()
The value associated with the account attribute name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the account attribute.
|
void |
setValue(String value)
The value associated with the account attribute name.
|
String |
toString()
Returns a string representation of this object.
|
AccountAttribute |
withName(AccountAttributeName name)
The name of the account attribute.
|
AccountAttribute |
withName(String name)
The name of the account attribute.
|
AccountAttribute |
withValue(String value)
The value associated with the account attribute name.
|
public void setName(String name)
The name of the account attribute.
name - The name of the account attribute.AccountAttributeNamepublic String getName()
The name of the account attribute.
AccountAttributeNamepublic AccountAttribute withName(String name)
The name of the account attribute.
name - The name of the account attribute.AccountAttributeNamepublic AccountAttribute withName(AccountAttributeName name)
The name of the account attribute.
name - The name of the account attribute.AccountAttributeNamepublic void setValue(String value)
The value associated with the account attribute name.
value - The value associated with the account attribute name.public String getValue()
The value associated with the account attribute name.
public AccountAttribute withValue(String value)
The value associated with the account attribute name.
value - The value associated with the account attribute name.public String toString()
toString in class ObjectObject.toString()public AccountAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.