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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ec2InstanceSavingsPlansConfiguration.BuilderaccountScope(String accountScope)The account scope that you want your recommendations for.Ec2InstanceSavingsPlansConfiguration.BuilderhourlyCommitment(String hourlyCommitment)The hourly commitment for the Savings Plans type.Ec2InstanceSavingsPlansConfiguration.BuilderinstanceFamily(String instanceFamily)The instance family of the recommended Savings Plan.Ec2InstanceSavingsPlansConfiguration.BuilderpaymentOption(String paymentOption)The payment option for the commitment.Ec2InstanceSavingsPlansConfiguration.BuildersavingsPlansRegion(String savingsPlansRegion)The Amazon Web Services Region of the commitment.Ec2InstanceSavingsPlansConfiguration.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, sdkFields
-
-
-
-
Method Detail
-
accountScope
Ec2InstanceSavingsPlansConfiguration.Builder accountScope(String 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
Ec2InstanceSavingsPlansConfiguration.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.
-
instanceFamily
Ec2InstanceSavingsPlansConfiguration.Builder instanceFamily(String 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
Ec2InstanceSavingsPlansConfiguration.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.
-
savingsPlansRegion
Ec2InstanceSavingsPlansConfiguration.Builder savingsPlansRegion(String 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
Ec2InstanceSavingsPlansConfiguration.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.
-
-