@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAccountAttributesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAccountAttributesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAccountAttributesResult |
clone() |
boolean |
equals(Object obj) |
List<AccountAttribute> |
getAccountAttributes()
An array of AccountAttributes objects.
|
String |
getNextToken()
The token to be used for the next set of paginated results.
|
int |
hashCode() |
void |
setAccountAttributes(Collection<AccountAttribute> accountAttributes)
An array of AccountAttributes objects.
|
void |
setNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAccountAttributesResult |
withAccountAttributes(AccountAttribute... accountAttributes)
An array of AccountAttributes objects.
|
DescribeAccountAttributesResult |
withAccountAttributes(Collection<AccountAttribute> accountAttributes)
An array of AccountAttributes objects.
|
DescribeAccountAttributesResult |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccountAttribute> getAccountAttributes()
An array of AccountAttributes objects.
public void setAccountAttributes(Collection<AccountAttribute> accountAttributes)
An array of AccountAttributes objects.
accountAttributes
- An array of AccountAttributes objects.public DescribeAccountAttributesResult withAccountAttributes(AccountAttribute... accountAttributes)
An array of AccountAttributes objects.
NOTE: This method appends the values to the existing list (if any). Use
setAccountAttributes(java.util.Collection)
or withAccountAttributes(java.util.Collection)
if
you want to override the existing values.
accountAttributes
- An array of AccountAttributes objects.public DescribeAccountAttributesResult withAccountAttributes(Collection<AccountAttribute> accountAttributes)
An array of AccountAttributes objects.
accountAttributes
- An array of AccountAttributes objects.public void setNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken
- The token to be used for the next set of paginated results. If this field is empty then there are no more
results.public String getNextToken()
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
public DescribeAccountAttributesResult withNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken
- The token to be used for the next set of paginated results. If this field is empty then there are no more
results.public String toString()
toString
in class Object
Object.toString()
public DescribeAccountAttributesResult clone()