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:
  • Constructor Details

    • AccountQuota

      public AccountQuota()
  • Method Details

    • 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public AccountQuota clone()
      Overrides:
      clone in class Object