Class AccountQuota
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.AccountQuota
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccountQuota.Builder,AccountQuota>
@Generated("software.amazon.awssdk:codegen") public final class AccountQuota extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountQuota.Builder,AccountQuota>
Describes a quota for an Amazon Web Services account, for example the number of replication instances allowed.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccountQuota.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountQuotaName()The name of the DMS quota for this Amazon Web Services account.static AccountQuota.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Longmax()The maximum allowed value for the quota.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AccountQuota.Builder>serializableBuilderClass()AccountQuota.BuildertoBuilder()StringtoString()Returns a string representation of this object.Longused()The amount currently used toward the quota maximum.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountQuotaName
public final String accountQuotaName()
The name of the DMS quota for this Amazon Web Services account.
- Returns:
- The name of the DMS quota for this Amazon Web Services account.
-
used
public final Long used()
The amount currently used toward the quota maximum.
- Returns:
- The amount currently used toward the quota maximum.
-
max
public final Long max()
The maximum allowed value for the quota.
- Returns:
- The maximum allowed value for the quota.
-
toBuilder
public AccountQuota.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccountQuota.Builder,AccountQuota>
-
builder
public static AccountQuota.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountQuota.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-