public class DescribeAccountAttributesResult extends Object implements Serializable, Cloneable
Data returned by the DescribeAccountAttributes action.
Constructor and Description |
---|
DescribeAccountAttributesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAccountAttributesResult |
clone() |
boolean |
equals(Object obj) |
List<AccountQuota> |
getAccountQuotas()
A list of AccountQuota objects.
|
int |
hashCode() |
void |
setAccountQuotas(Collection<AccountQuota> accountQuotas)
A list of AccountQuota objects.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAccountAttributesResult |
withAccountQuotas(AccountQuota... accountQuotas)
A list of AccountQuota objects.
|
DescribeAccountAttributesResult |
withAccountQuotas(Collection<AccountQuota> accountQuotas)
A list of AccountQuota objects.
|
public List<AccountQuota> getAccountQuotas()
A list of AccountQuota objects. Within this list, each quota has a name, a count of usage toward the quota maximum, and a maximum value for the quota.
public void setAccountQuotas(Collection<AccountQuota> accountQuotas)
A list of AccountQuota objects. Within this list, each quota has a name, a count of usage toward the quota maximum, and a maximum value for the quota.
accountQuotas
- A list of AccountQuota objects. Within this list, each
quota has a name, a count of usage toward the quota maximum, and a
maximum value for the quota.public DescribeAccountAttributesResult withAccountQuotas(AccountQuota... accountQuotas)
A list of AccountQuota objects. Within this list, each quota has a name, a count of usage toward the quota maximum, and a maximum value for the quota.
NOTE: This method appends the values to the existing list (if
any). Use setAccountQuotas(java.util.Collection)
or
withAccountQuotas(java.util.Collection)
if you want to override
the existing values.
accountQuotas
- A list of AccountQuota objects. Within this list, each
quota has a name, a count of usage toward the quota maximum, and a
maximum value for the quota.public DescribeAccountAttributesResult withAccountQuotas(Collection<AccountQuota> accountQuotas)
A list of AccountQuota objects. Within this list, each quota has a name, a count of usage toward the quota maximum, and a maximum value for the quota.
accountQuotas
- A list of AccountQuota objects. Within this list, each
quota has a name, a count of usage toward the quota maximum, and a
maximum value for the quota.public String toString()
toString
in class Object
Object.toString()
public DescribeAccountAttributesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.