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 String getAccountQuotaName()
public void setAccountQuotaName(String accountQuotaName)
accountQuotaName
- The name of the Amazon RDS quota for this AWS account.public AccountQuota withAccountQuotaName(String accountQuotaName)
Returns a reference to this object so that method calls can be chained together.
accountQuotaName
- The name of the Amazon RDS quota for this AWS account.public Long getUsed()
public void setUsed(Long used)
used
- The amount currently used toward the quota maximum.public AccountQuota withUsed(Long used)
Returns a reference to this object so that method calls can be chained together.
used
- The amount currently used toward the quota maximum.public Long getMax()
public void setMax(Long max)
max
- The maximum allowed value for the quota.public AccountQuota withMax(Long max)
Returns a reference to this object so that method calls can be chained together.
max
- The maximum allowed value for the quota.public String toString()
toString
in class Object
Object.toString()
public AccountQuota clone()
Copyright © 2015. All rights reserved.