Interface PreferredCommitment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PreferredCommitment.Builder,
,PreferredCommitment> SdkBuilder<PreferredCommitment.Builder,
,PreferredCommitment> SdkPojo
- Enclosing class:
PreferredCommitment
@Mutable
@NotThreadSafe
public static interface PreferredCommitment.Builder
extends SdkPojo, CopyableBuilder<PreferredCommitment.Builder,PreferredCommitment>
-
Method Summary
Modifier and TypeMethodDescriptionpaymentOption
(String paymentOption) The preferred upfront payment structure for commitments.paymentOption
(PaymentOption paymentOption) The preferred upfront payment structure for commitments.The preferred length of the commitment period.The preferred length of the commitment period.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
-
term
The preferred length of the commitment period. If the value is null, it will default to
ThreeYears
(highest savings) where applicable.- Parameters:
term
- The preferred length of the commitment period. If the value is null, it will default toThreeYears
(highest savings) where applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
term
The preferred length of the commitment period. If the value is null, it will default to
ThreeYears
(highest savings) where applicable.- Parameters:
term
- The preferred length of the commitment period. If the value is null, it will default toThreeYears
(highest savings) where applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
The preferred upfront payment structure for commitments. If the value is null, it will default to
AllUpfront
(highest savings) where applicable.- Parameters:
paymentOption
- The preferred upfront payment structure for commitments. If the value is null, it will default toAllUpfront
(highest savings) where applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
The preferred upfront payment structure for commitments. If the value is null, it will default to
AllUpfront
(highest savings) where applicable.- Parameters:
paymentOption
- The preferred upfront payment structure for commitments. If the value is null, it will default toAllUpfront
(highest savings) where applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-