Package com.amazonaws.services.rds.model
Class AccountQuota
java.lang.Object
com.amazonaws.services.rds.model.AccountQuota
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a quota for an AWS account, for example, the number of DB instances allowed.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the Amazon RDS quota for this AWS account.getMax()
The maximum allowed value for the quota.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
The maximum allowed value for the quota.void
The amount currently used toward the quota maximum.toString()
Returns a string representation of this object; useful for testing and debugging.withAccountQuotaName
(String accountQuotaName) The name of the Amazon RDS quota for this AWS account.The maximum allowed value for the quota.The amount currently used toward the quota maximum.
-
Constructor Details
-
AccountQuota
public AccountQuota()
-
-
Method Details
-
setAccountQuotaName
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
The name of the Amazon RDS quota for this AWS account.
- Returns:
- The name of the Amazon RDS quota for this AWS account.
-
withAccountQuotaName
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
The amount currently used toward the quota maximum.
- Parameters:
used
- The amount currently used toward the quota maximum.
-
getUsed
The amount currently used toward the quota maximum.
- Returns:
- The amount currently used toward the quota maximum.
-
withUsed
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
The maximum allowed value for the quota.
- Parameters:
max
- The maximum allowed value for the quota.
-
getMax
The maximum allowed value for the quota.
- Returns:
- The maximum allowed value for the quota.
-
withMax
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-