Interface ComputeSavingsPlansConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeSavingsPlansConfiguration.Builder,ComputeSavingsPlansConfiguration>,SdkBuilder<ComputeSavingsPlansConfiguration.Builder,ComputeSavingsPlansConfiguration>,SdkPojo
- Enclosing class:
- ComputeSavingsPlansConfiguration
public static interface ComputeSavingsPlansConfiguration.Builder extends SdkPojo, CopyableBuilder<ComputeSavingsPlansConfiguration.Builder,ComputeSavingsPlansConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComputeSavingsPlansConfiguration.BuilderaccountScope(String accountScope)The account scope that you want your recommendations for.ComputeSavingsPlansConfiguration.BuilderhourlyCommitment(String hourlyCommitment)The hourly commitment for the Savings Plans type.ComputeSavingsPlansConfiguration.BuilderpaymentOption(String paymentOption)The payment option for the commitment.ComputeSavingsPlansConfiguration.Builderterm(String term)The Savings Plans recommendation term in years.-
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
-
accountScope
ComputeSavingsPlansConfiguration.Builder accountScope(String accountScope)
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to
PAYER. If the value isLINKED, recommendations are calculated for individual member accounts only.- Parameters:
accountScope- The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set toPAYER. If the value isLINKED, recommendations are calculated for individual member accounts only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
term
ComputeSavingsPlansConfiguration.Builder term(String term)
The Savings Plans recommendation term in years.
- Parameters:
term- The Savings Plans recommendation term in years.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentOption
ComputeSavingsPlansConfiguration.Builder paymentOption(String paymentOption)
The payment option for the commitment.
- Parameters:
paymentOption- The payment option for the commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hourlyCommitment
ComputeSavingsPlansConfiguration.Builder hourlyCommitment(String hourlyCommitment)
The hourly commitment for the Savings Plans type.
- Parameters:
hourlyCommitment- The hourly commitment for the Savings Plans type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-