@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountQuota extends Object implements Serializable, Cloneable
Describes a quota for an AWS account, for example, the number of DB instances allowed.
Constructor and Description |
---|
AccountQuota() |
Modifier and Type | Method and Description |
---|---|
AccountQuota |
clone() |
boolean |
equals(Object obj) |
String |
getAccountQuotaName()
The name of the Amazon RDS quota for this AWS account.
|
Long |
getMax()
The maximum allowed value for the quota.
|
Long |
getUsed()
The amount currently used toward the quota maximum.
|
int |
hashCode() |
void |
setAccountQuotaName(String accountQuotaName)
The name of the Amazon RDS quota for this AWS account.
|
void |
setMax(Long max)
The maximum allowed value for the quota.
|
void |
setUsed(Long used)
The amount currently used toward the quota maximum.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AccountQuota |
withAccountQuotaName(String accountQuotaName)
The name of the Amazon RDS quota for this AWS account.
|
AccountQuota |
withMax(Long max)
The maximum allowed value for the quota.
|
AccountQuota |
withUsed(Long used)
The amount currently used toward the quota maximum.
|
public void setAccountQuotaName(String accountQuotaName)
The name of the Amazon RDS quota for this AWS account.
accountQuotaName
- The name of the Amazon RDS quota for this AWS account.public String getAccountQuotaName()
The name of the Amazon RDS quota for this AWS account.
public AccountQuota withAccountQuotaName(String accountQuotaName)
The name of the Amazon RDS quota for this AWS account.
accountQuotaName
- The name of the Amazon RDS quota for this AWS account.public void setUsed(Long used)
The amount currently used toward the quota maximum.
used
- The amount currently used toward the quota maximum.public Long getUsed()
The amount currently used toward the quota maximum.
public AccountQuota withUsed(Long used)
The amount currently used toward the quota maximum.
used
- The amount currently used toward the quota maximum.public void setMax(Long max)
The maximum allowed value for the quota.
max
- The maximum allowed value for the quota.public Long getMax()
The maximum allowed value for the quota.
public AccountQuota withMax(Long max)
The maximum allowed value for the quota.
max
- The maximum allowed value for the quota.public String toString()
toString
in class Object
Object.toString()
public AccountQuota clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.