Interface AvailableLimits.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AvailableLimits.Builder,,AvailableLimits> SdkBuilder<AvailableLimits.Builder,,AvailableLimits> SdkPojo
- Enclosing class:
AvailableLimits
@Mutable
@NotThreadSafe
public static interface AvailableLimits.Builder
extends SdkPojo, CopyableBuilder<AvailableLimits.Builder,AvailableLimits>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AvailableLimits.BuilderavailableSpendAmount(Consumer<Amount.Builder> availableSpendAmount) The available spend amount for this session.availableSpendAmount(Amount availableSpendAmount) The available spend amount for this session.The timestamp when the available limits were last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
availableSpendAmount
The available spend amount for this session.
- Parameters:
availableSpendAmount- The available spend amount for this session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableSpendAmount
The available spend amount for this session.
This is a convenience method that creates an instance of theAmount.Builderavoiding the need to create one manually viaAmount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toavailableSpendAmount(Amount).- Parameters:
availableSpendAmount- a consumer that will call methods onAmount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The timestamp when the available limits were last updated.
- Parameters:
updatedAt- The timestamp when the available limits were last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-