Interface SavingsOpportunity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SavingsOpportunity.Builder,SavingsOpportunity>,SdkBuilder<SavingsOpportunity.Builder,SavingsOpportunity>,SdkPojo
- Enclosing class:
- SavingsOpportunity
public static interface SavingsOpportunity.Builder extends SdkPojo, CopyableBuilder<SavingsOpportunity.Builder,SavingsOpportunity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SavingsOpportunity.BuilderestimatedMonthlySavings(Consumer<EstimatedMonthlySavings.Builder> estimatedMonthlySavings)An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource.SavingsOpportunity.BuilderestimatedMonthlySavings(EstimatedMonthlySavings estimatedMonthlySavings)An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource.SavingsOpportunity.BuildersavingsOpportunityPercentage(Double savingsOpportunityPercentage)The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.-
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
SavingsOpportunity.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage)
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.
- Parameters:
savingsOpportunityPercentage- The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
SavingsOpportunity.Builder estimatedMonthlySavings(EstimatedMonthlySavings estimatedMonthlySavings)
An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing..
- Parameters:
estimatedMonthlySavings- An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
default SavingsOpportunity.Builder estimatedMonthlySavings(Consumer<EstimatedMonthlySavings.Builder> estimatedMonthlySavings)
An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing..
This is a convenience method that creates an instance of theEstimatedMonthlySavings.Builderavoiding the need to create one manually viaEstimatedMonthlySavings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedMonthlySavings(EstimatedMonthlySavings).- Parameters:
estimatedMonthlySavings- a consumer that will call methods onEstimatedMonthlySavings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
estimatedMonthlySavings(EstimatedMonthlySavings)
-
-