public class AccountAttribute
extends java.lang.Object
implements java.io.Serializable
Describes an account attribute.
Constructor and Description |
---|
AccountAttribute() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getAttributeName()
public void setAttributeName(java.lang.String attributeName)
attributeName
- The name of the account attribute.public AccountAttribute withAttributeName(java.lang.String attributeName)
Returns a reference to this object so that method calls can be chained together.
attributeName
- The name of the account attribute.public java.util.List<AccountAttributeValue> getAttributeValues()
public void setAttributeValues(java.util.Collection<AccountAttributeValue> attributeValues)
attributeValues
- One or more values for the account attribute.public AccountAttribute withAttributeValues(AccountAttributeValue... attributeValues)
Returns a reference to this object so that method calls can be chained together.
attributeValues
- One or more values for the account attribute.public AccountAttribute withAttributeValues(java.util.Collection<AccountAttributeValue> attributeValues)
Returns a reference to this object so that method calls can be chained together.
attributeValues
- One or more values for the account attribute.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.