Interface Ec2InstanceSavingsPlansConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Ec2InstanceSavingsPlansConfiguration.Builder,
,Ec2InstanceSavingsPlansConfiguration> SdkBuilder<Ec2InstanceSavingsPlansConfiguration.Builder,
,Ec2InstanceSavingsPlansConfiguration> SdkPojo
- Enclosing class:
Ec2InstanceSavingsPlansConfiguration
public static interface Ec2InstanceSavingsPlansConfiguration.Builder
extends SdkPojo, CopyableBuilder<Ec2InstanceSavingsPlansConfiguration.Builder,Ec2InstanceSavingsPlansConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionaccountScope
(String accountScope) The account scope that you want your recommendations for.hourlyCommitment
(String hourlyCommitment) The hourly commitment for the Savings Plans type.instanceFamily
(String instanceFamily) The instance family of the recommended Savings Plan.paymentOption
(String paymentOption) The payment option for the commitment.savingsPlansRegion
(String savingsPlansRegion) The Amazon Web Services Region of the commitment.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, sdkFields
-
Method Details
-
accountScope
The account scope that you want your recommendations for.
- Parameters:
accountScope
- The account scope that you want your recommendations for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
instanceFamily
The instance family of the recommended Savings Plan.
- Parameters:
instanceFamily
- The instance family of the recommended Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
savingsPlansRegion
The Amazon Web Services Region of the commitment.
- Parameters:
savingsPlansRegion
- The Amazon Web Services Region of the commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-