Interface SpendLimit.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SpendLimit.Builder,
,SpendLimit> SdkBuilder<SpendLimit.Builder,
,SpendLimit> SdkPojo
- Enclosing class:
SpendLimit
public static interface SpendLimit.Builder
extends SdkPojo, CopyableBuilder<SpendLimit.Builder,SpendLimit>
-
Method Summary
Modifier and TypeMethodDescriptionenforcedLimit
(Long enforcedLimit) The maximum amount of money, in US dollars, that you want to be able to spend sending messages each month.The maximum amount of money that you are able to spend to send messages each month, in US dollars.The name for the SpendLimit.name
(SpendLimitName name) The name for the SpendLimit.overridden
(Boolean overridden) When set toTrue
, the value that has been specified in theEnforcedLimit
is used to determine the maximum amount in US dollars that can be spent to send messages each month, in US dollars.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name for the SpendLimit.
- Parameters:
name
- The name for the SpendLimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name for the SpendLimit.
- Parameters:
name
- The name for the SpendLimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 inMaxLimit
. To use this custom limit,Overridden
must be set to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxLimit
The maximum amount of money that you are able to spend to send messages each month, in US dollars.
- Parameters:
maxLimit
- The maximum amount of money that you are able to spend to send messages each month, in US dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overridden
When set to
True
, the value that has been specified in theEnforcedLimit
is used to determine the maximum amount in US dollars that can be spent to send messages each month, in US dollars.- Parameters:
overridden
- When set toTrue
, the value that has been specified in theEnforcedLimit
is used to determine the maximum amount in US dollars that can be spent to send messages each month, in US dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-