Package com.amazonaws.services.rds.model
Class AccountQuota
- java.lang.Object
-
- com.amazonaws.services.rds.model.AccountQuota
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AccountQuota extends Object implements Serializable, Cloneable
Describes a quota for an AWS account, for example, the number of DB instances allowed.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccountQuota()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setAccountQuotaName
public void setAccountQuotaName(String accountQuotaName)
The name of the Amazon RDS quota for this AWS account.
- Parameters:
accountQuotaName
- The name of the Amazon RDS quota for this AWS account.
-
getAccountQuotaName
public String getAccountQuotaName()
The name of the Amazon RDS quota for this AWS account.
- Returns:
- The name of the Amazon RDS quota for this AWS account.
-
withAccountQuotaName
public AccountQuota withAccountQuotaName(String accountQuotaName)
The name of the Amazon RDS quota for this AWS account.
- Parameters:
accountQuotaName
- The name of the Amazon RDS quota for this AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUsed
public void setUsed(Long used)
The amount currently used toward the quota maximum.
- Parameters:
used
- The amount currently used toward the quota maximum.
-
getUsed
public Long getUsed()
The amount currently used toward the quota maximum.
- Returns:
- The amount currently used toward the quota maximum.
-
withUsed
public AccountQuota withUsed(Long used)
The amount currently used toward the quota maximum.
- Parameters:
used
- The amount currently used toward the quota maximum.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMax
public void setMax(Long max)
The maximum allowed value for the quota.
- Parameters:
max
- The maximum allowed value for the quota.
-
getMax
public Long getMax()
The maximum allowed value for the quota.
- Returns:
- The maximum allowed value for the quota.
-
withMax
public AccountQuota withMax(Long max)
The maximum allowed value for the quota.
- Parameters:
max
- The maximum allowed value for the quota.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AccountQuota clone()
-
-