Class AccountLimit
- java.lang.Object
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.AccountLimit
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccountLimit.Builder,AccountLimit>
@Generated("software.amazon.awssdk:codegen") public final class AccountLimit extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountLimit.Builder,AccountLimit>
The current resource quotas associated with an Amazon Web Services account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccountLimit.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountLimit.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Longmax()The Amazon Web Services set limit for that resource type, in US dollars.AccountLimitNamename()The name of the attribute to apply the account limit to.StringnameAsString()The name of the attribute to apply the account limit to.List<SdkField<?>>sdkFields()static Class<? extends AccountLimit.Builder>serializableBuilderClass()AccountLimit.BuildertoBuilder()StringtoString()Returns a string representation of this object.Longused()The current amount that has been spent, in US dollars.-
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
-
name
public final AccountLimitName name()
The name of the attribute to apply the account limit to.
If the service returns an enum value that is not available in the current SDK version,
namewill returnAccountLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the attribute to apply the account limit to.
- See Also:
AccountLimitName
-
nameAsString
public final String nameAsString()
The name of the attribute to apply the account limit to.
If the service returns an enum value that is not available in the current SDK version,
namewill returnAccountLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the attribute to apply the account limit to.
- See Also:
AccountLimitName
-
used
public final Long used()
The current amount that has been spent, in US dollars.
- Returns:
- The current amount that has been spent, in US dollars.
-
max
public final Long max()
The Amazon Web Services set limit for that resource type, in US dollars.
- Returns:
- The Amazon Web Services set limit for that resource type, in US dollars.
-
toBuilder
public AccountLimit.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccountLimit.Builder,AccountLimit>
-
builder
public static AccountLimit.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountLimit.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.
-
-