public class DescribeAccountAttributesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Data returned by the DescribeAccountAttributes action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<AccountQuota> |
accountQuotas
A list of AccountQuota objects.
|
Constructor and Description |
---|
DescribeAccountAttributesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAccountAttributesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AccountQuota> |
getAccountQuotas()
A list of AccountQuota objects.
|
int |
hashCode() |
void |
setAccountQuotas(java.util.Collection<AccountQuota> accountQuotas)
A list of AccountQuota objects.
|
java.lang.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(java.util.Collection<AccountQuota> accountQuotas)
A list of AccountQuota objects.
|
private SdkInternalList<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.
public java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeAccountAttributesResult clone()
clone
in class java.lang.Object