Interface SavingsPlans.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SavingsPlans.Builder,SavingsPlans>,SdkBuilder<SavingsPlans.Builder,SavingsPlans>,SdkPojo
- Enclosing class:
- SavingsPlans
public static interface SavingsPlans.Builder extends SdkPojo, CopyableBuilder<SavingsPlans.Builder,SavingsPlans>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SavingsPlans.BuilderinstanceFamily(String instanceFamily)The instance family of the Savings Plans commitment.SavingsPlans.BuilderofferingId(String offeringId)The unique ID that's used to distinguish Savings Plans commitments from one another.SavingsPlans.BuilderpaymentOption(String paymentOption)The payment option for the Savings Plans commitment.SavingsPlans.BuilderpaymentOption(PaymentOption paymentOption)The payment option for the Savings Plans commitment.SavingsPlans.Builderregion(String region)The Region associated with the Savings Plans commitment.SavingsPlans.BuildersavingsPlansCommitment(Double savingsPlansCommitment)The Savings Plans commitment.SavingsPlans.BuildersavingsPlansType(String savingsPlansType)The Savings Plans type.SavingsPlans.BuildersavingsPlansType(SupportedSavingsPlansType savingsPlansType)The Savings Plans type.SavingsPlans.BuildertermInYears(String termInYears)The term that you want the Savings Plans commitment for.SavingsPlans.BuildertermInYears(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 Detail
-
paymentOption
SavingsPlans.Builder paymentOption(String 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,PaymentOption
-
paymentOption
SavingsPlans.Builder paymentOption(PaymentOption 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,PaymentOption
-
savingsPlansType
SavingsPlans.Builder savingsPlansType(String 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:
SupportedSavingsPlansType,SupportedSavingsPlansType
-
savingsPlansType
SavingsPlans.Builder savingsPlansType(SupportedSavingsPlansType 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:
SupportedSavingsPlansType,SupportedSavingsPlansType
-
region
SavingsPlans.Builder region(String 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
SavingsPlans.Builder instanceFamily(String 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
SavingsPlans.Builder termInYears(String 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,TermInYears
-
termInYears
SavingsPlans.Builder termInYears(TermInYears 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,TermInYears
-
savingsPlansCommitment
SavingsPlans.Builder savingsPlansCommitment(Double 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
SavingsPlans.Builder offeringId(String 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.
-
-