Interface AddSavingsPlanAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AddSavingsPlanAction.Builder,AddSavingsPlanAction>,SdkBuilder<AddSavingsPlanAction.Builder,AddSavingsPlanAction>,SdkPojo
- Enclosing class:
- AddSavingsPlanAction
public static interface AddSavingsPlanAction.Builder extends SdkPojo, CopyableBuilder<AddSavingsPlanAction.Builder,AddSavingsPlanAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddSavingsPlanAction.Buildercommitment(Double commitment)The hourly commitment, in the same currency of thesavingsPlanOfferingId.AddSavingsPlanAction.BuildersavingsPlanOfferingId(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 Detail
-
savingsPlanOfferingId
AddSavingsPlanAction.Builder savingsPlanOfferingId(String 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
AddSavingsPlanAction.Builder commitment(Double 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.
-
-