Interface InstanceSavingsOpportunityAfterDiscounts.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceSavingsOpportunityAfterDiscounts.Builder,InstanceSavingsOpportunityAfterDiscounts>,SdkBuilder<InstanceSavingsOpportunityAfterDiscounts.Builder,InstanceSavingsOpportunityAfterDiscounts>,SdkPojo
- Enclosing class:
- InstanceSavingsOpportunityAfterDiscounts
public static interface InstanceSavingsOpportunityAfterDiscounts.Builder extends SdkPojo, CopyableBuilder<InstanceSavingsOpportunityAfterDiscounts.Builder,InstanceSavingsOpportunityAfterDiscounts>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InstanceSavingsOpportunityAfterDiscounts.BuilderestimatedMonthlySavings(Consumer<InstanceEstimatedMonthlySavings.Builder> estimatedMonthlySavings)An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations.InstanceSavingsOpportunityAfterDiscounts.BuilderestimatedMonthlySavings(InstanceEstimatedMonthlySavings estimatedMonthlySavings)An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations.InstanceSavingsOpportunityAfterDiscounts.BuildersavingsOpportunityPercentage(Double savingsOpportunityPercentage)The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts.-
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
-
savingsOpportunityPercentage
InstanceSavingsOpportunityAfterDiscounts.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage)
The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s EC2 instance recommendations.
- Parameters:
savingsOpportunityPercentage- The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s EC2 instance recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
InstanceSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(InstanceEstimatedMonthlySavings estimatedMonthlySavings)
An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is based on pricing after applying the Savings Plans and Reserved Instances discounts.
- Parameters:
estimatedMonthlySavings- An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is based on pricing after applying the Savings Plans and Reserved Instances discounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
default InstanceSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(Consumer<InstanceEstimatedMonthlySavings.Builder> estimatedMonthlySavings)
An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is based on pricing after applying the Savings Plans and Reserved Instances discounts.
This is a convenience method that creates an instance of theInstanceEstimatedMonthlySavings.Builderavoiding the need to create one manually viaInstanceEstimatedMonthlySavings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedMonthlySavings(InstanceEstimatedMonthlySavings).- Parameters:
estimatedMonthlySavings- a consumer that will call methods onInstanceEstimatedMonthlySavings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
estimatedMonthlySavings(InstanceEstimatedMonthlySavings)
-
-