Class AccountQuota
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.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 replication 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 AccountQuotaclone()booleanequals(Object obj)StringgetAccountQuotaName()The name of the AWS DMS quota for this AWS account.LonggetMax()The maximum allowed value for the quota.LonggetUsed()The amount currently used toward the quota maximum.inthashCode()voidsetAccountQuotaName(String accountQuotaName)The name of the AWS DMS quota for this AWS account.voidsetMax(Long max)The maximum allowed value for the quota.voidsetUsed(Long used)The amount currently used toward the quota maximum.StringtoString()Returns a string representation of this object; useful for testing and debugging.AccountQuotawithAccountQuotaName(String accountQuotaName)The name of the AWS DMS quota for this AWS account.AccountQuotawithMax(Long max)The maximum allowed value for the quota.AccountQuotawithUsed(Long used)The amount currently used toward the quota maximum.
-
-
-
Method Detail
-
setAccountQuotaName
public void setAccountQuotaName(String accountQuotaName)
The name of the AWS DMS quota for this AWS account.
- Parameters:
accountQuotaName- The name of the AWS DMS quota for this AWS account.
-
getAccountQuotaName
public String getAccountQuotaName()
The name of the AWS DMS quota for this AWS account.
- Returns:
- The name of the AWS DMS quota for this AWS account.
-
withAccountQuotaName
public AccountQuota withAccountQuotaName(String accountQuotaName)
The name of the AWS DMS quota for this AWS account.
- Parameters:
accountQuotaName- The name of the AWS DMS 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AccountQuota clone()
-
-