Interface SavingsPlans.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlans.Builder,
,SavingsPlans> SdkBuilder<SavingsPlans.Builder,
,SavingsPlans> SdkPojo
- Enclosing class:
SavingsPlans
@Mutable
@NotThreadSafe
public static interface SavingsPlans.Builder
extends SdkPojo, CopyableBuilder<SavingsPlans.Builder,SavingsPlans>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceFamily
(String instanceFamily) The instance family of the Savings Plans commitment.offeringId
(String offeringId) The unique ID that's used to distinguish Savings Plans commitments from one another.paymentOption
(String paymentOption) The payment option for the Savings Plans commitment.paymentOption
(PaymentOption paymentOption) The payment option for the Savings Plans commitment.The Region associated with the Savings Plans commitment.savingsPlansCommitment
(Double savingsPlansCommitment) The Savings Plans commitment.savingsPlansType
(String savingsPlansType) The Savings Plans type.savingsPlansType
(SupportedSavingsPlansType savingsPlansType) The Savings Plans type.termInYears
(String termInYears) The term that you want the Savings Plans commitment for.termInYears
(TermInYears termInYears) The term that you want the Savings Plans commitment for.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
-
paymentOption
The payment option for the Savings Plans commitment.
- Parameters:
paymentOption
- The payment option for the Savings Plans commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
The payment option for the Savings Plans commitment.
- Parameters:
paymentOption
- The payment option for the Savings Plans commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsPlansType
The Savings Plans type.
- Parameters:
savingsPlansType
- The Savings Plans type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsPlansType
The Savings Plans type.
- Parameters:
savingsPlansType
- The Savings Plans type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
The Region associated with the Savings Plans commitment.
- Parameters:
region
- The Region associated with the Savings Plans commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamily
The instance family of the Savings Plans commitment.
- Parameters:
instanceFamily
- The instance family of the Savings Plans commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termInYears
The term that you want the Savings Plans commitment for.
- Parameters:
termInYears
- The term that you want the Savings Plans commitment for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
termInYears
The term that you want the Savings Plans commitment for.
- Parameters:
termInYears
- The term that you want the Savings Plans commitment for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsPlansCommitment
The Savings Plans commitment.
- Parameters:
savingsPlansCommitment
- The Savings Plans commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringId
The unique ID that's used to distinguish Savings Plans commitments from one another.
- Parameters:
offeringId
- The unique ID that's used to distinguish Savings Plans commitments from one another.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-