Interface AddSavingsPlanAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AddSavingsPlanAction.Builder,
,AddSavingsPlanAction> SdkBuilder<AddSavingsPlanAction.Builder,
,AddSavingsPlanAction> SdkPojo
- Enclosing class:
AddSavingsPlanAction
@Mutable
@NotThreadSafe
public static interface AddSavingsPlanAction.Builder
extends SdkPojo, CopyableBuilder<AddSavingsPlanAction.Builder,AddSavingsPlanAction>
-
Method Summary
Modifier and TypeMethodDescriptioncommitment
(Double commitment) The hourly commitment, in the same currency of thesavingsPlanOfferingId
.savingsPlanOfferingId
(String savingsPlanOfferingId) The ID of the Savings Plan offering to add.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, sdkFieldNameToField, sdkFields
-
Method Details
-
savingsPlanOfferingId
The ID of the Savings Plan offering to add. For more information, see DescribeSavingsPlansOfferings.
- Parameters:
savingsPlanOfferingId
- The ID of the Savings Plan offering to add. For more information, see DescribeSavingsPlansOfferings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitment
The hourly commitment, in the same currency of the
savingsPlanOfferingId
. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.- Parameters:
commitment
- The hourly commitment, in the same currency of thesavingsPlanOfferingId
. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-