Interface IdleSavingsOpportunity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IdleSavingsOpportunity.Builder,IdleSavingsOpportunity>,SdkBuilder<IdleSavingsOpportunity.Builder,IdleSavingsOpportunity>,SdkPojo
- Enclosing class:
- IdleSavingsOpportunity
public static interface IdleSavingsOpportunity.Builder extends SdkPojo, CopyableBuilder<IdleSavingsOpportunity.Builder,IdleSavingsOpportunity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IdleSavingsOpportunity.BuilderestimatedMonthlySavings(Consumer<IdleEstimatedMonthlySavings.Builder> estimatedMonthlySavings)The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.IdleSavingsOpportunity.BuilderestimatedMonthlySavings(IdleEstimatedMonthlySavings estimatedMonthlySavings)The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.IdleSavingsOpportunity.BuildersavingsOpportunityPercentage(Double savingsOpportunityPercentage)The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
savingsOpportunityPercentage
IdleSavingsOpportunity.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage)
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations.
- Parameters:
savingsOpportunityPercentage- The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
IdleSavingsOpportunity.Builder estimatedMonthlySavings(IdleEstimatedMonthlySavings estimatedMonthlySavings)
The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.
- Parameters:
estimatedMonthlySavings- The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
default IdleSavingsOpportunity.Builder estimatedMonthlySavings(Consumer<IdleEstimatedMonthlySavings.Builder> estimatedMonthlySavings)
The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.
This is a convenience method that creates an instance of theIdleEstimatedMonthlySavings.Builderavoiding the need to create one manually viaIdleEstimatedMonthlySavings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedMonthlySavings(IdleEstimatedMonthlySavings).- Parameters:
estimatedMonthlySavings- a consumer that will call methods onIdleEstimatedMonthlySavings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
estimatedMonthlySavings(IdleEstimatedMonthlySavings)
-
-