Interface IdleSavingsOpportunityAfterDiscounts.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IdleSavingsOpportunityAfterDiscounts.Builder,IdleSavingsOpportunityAfterDiscounts>,SdkBuilder<IdleSavingsOpportunityAfterDiscounts.Builder,IdleSavingsOpportunityAfterDiscounts>,SdkPojo
- Enclosing class:
- IdleSavingsOpportunityAfterDiscounts
public static interface IdleSavingsOpportunityAfterDiscounts.Builder extends SdkPojo, CopyableBuilder<IdleSavingsOpportunityAfterDiscounts.Builder,IdleSavingsOpportunityAfterDiscounts>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IdleSavingsOpportunityAfterDiscounts.BuilderestimatedMonthlySavings(Consumer<IdleEstimatedMonthlySavings.Builder> estimatedMonthlySavings)The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.IdleSavingsOpportunityAfterDiscounts.BuilderestimatedMonthlySavings(IdleEstimatedMonthlySavings estimatedMonthlySavings)The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.IdleSavingsOpportunityAfterDiscounts.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
IdleSavingsOpportunityAfterDiscounts.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage)
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts.
- Parameters:
savingsOpportunityPercentage- The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
IdleSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(IdleEstimatedMonthlySavings estimatedMonthlySavings)
The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts.
- Parameters:
estimatedMonthlySavings- The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
default IdleSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(Consumer<IdleEstimatedMonthlySavings.Builder> estimatedMonthlySavings)
The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts.
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)
-
-