@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccountLimit.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccountLimit.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
max()
The Amazon Web Services set limit for that resource type, in US dollars.
|
AccountLimitName |
name()
The name of the attribute to apply the account limit to.
|
String |
nameAsString()
The name of the attribute to apply the account limit to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccountLimit.Builder> |
serializableBuilderClass() |
AccountLimit.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
used()
The current amount that has been spent, in US dollars.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, name will return
AccountLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
AccountLimitNamepublic 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, name will return
AccountLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
AccountLimitNamepublic final Long used()
The current amount that has been spent, in US dollars.
public final Long max()
The Amazon Web Services set limit for that resource type, in US dollars.
public AccountLimit.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccountLimit.Builder,AccountLimit>public static AccountLimit.Builder builder()
public static Class<? extends AccountLimit.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.