@Generated(value="software.amazon.awssdk:codegen") public final class SpendLimit extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SpendLimit.Builder,SpendLimit>
Describes the current Amazon Pinpoint monthly spend limits for sending voice and text messages. For more information on increasing your monthly spend limit, see Requesting increases to your monthly SMS spending quota for Amazon Pinpoint in the Amazon Pinpoint User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SpendLimit.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SpendLimit.Builder |
builder() |
Long |
enforcedLimit()
The maximum amount of money, in US dollars, that you want to be able to spend sending messages each month.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
maxLimit()
The maximum amount of money that you are able to spend to send messages each month, in US dollars.
|
SpendLimitName |
name()
The name for the SpendLimit.
|
String |
nameAsString()
The name for the SpendLimit.
|
Boolean |
overridden()
When set to
True, the value that has been specified in the EnforcedLimit is used to
determine the maximum amount in US dollars that can be spent to send messages each month, in US dollars. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SpendLimit.Builder> |
serializableBuilderClass() |
SpendLimit.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SpendLimitName name()
The name for the SpendLimit.
If the service returns an enum value that is not available in the current SDK version, name will return
SpendLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
SpendLimitNamepublic final String nameAsString()
The name for the SpendLimit.
If the service returns an enum value that is not available in the current SDK version, name will return
SpendLimitName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
SpendLimitNamepublic final Long enforcedLimit()
The maximum amount of money, in US dollars, that you want to be able to spend sending messages each month. This
value has to be less than or equal to the amount in MaxLimit. To use this custom limit,
Overridden must be set to true.
MaxLimit. To use this custom
limit, Overridden must be set to true.public final Long maxLimit()
The maximum amount of money that you are able to spend to send messages each month, in US dollars.
public final Boolean overridden()
When set to True, the value that has been specified in the EnforcedLimit is used to
determine the maximum amount in US dollars that can be spent to send messages each month, in US dollars.
True, the value that has been specified in the EnforcedLimit is
used to determine the maximum amount in US dollars that can be spent to send messages each month, in US
dollars.public SpendLimit.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SpendLimit.Builder,SpendLimit>public static SpendLimit.Builder builder()
public static Class<? extends SpendLimit.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.