public static interface SavingsOpportunity.Builder extends SdkPojo, CopyableBuilder<SavingsOpportunity.Builder,SavingsOpportunity>
| Modifier and Type | Method and Description |
|---|---|
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.
|
SavingsOpportunity.Builder |
estimatedMonthlySavings(EstimatedMonthlySavings estimatedMonthlySavings)
An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer
recommendations for a given resource.
|
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSavingsOpportunity.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage)
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.
savingsOpportunityPercentage - The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer
recommendations for a given resource.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..
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..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.Builder avoiding
the need to create one manually via EstimatedMonthlySavings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to estimatedMonthlySavings(EstimatedMonthlySavings).
estimatedMonthlySavings - a consumer that will call methods on EstimatedMonthlySavings.BuilderestimatedMonthlySavings(EstimatedMonthlySavings)Copyright © 2023. All rights reserved.