Interface IdleSavingsOpportunityAfterDiscounts.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IdleSavingsOpportunityAfterDiscounts.Builder,
,IdleSavingsOpportunityAfterDiscounts> SdkBuilder<IdleSavingsOpportunityAfterDiscounts.Builder,
,IdleSavingsOpportunityAfterDiscounts> SdkPojo
- Enclosing class:
IdleSavingsOpportunityAfterDiscounts
@Mutable
@NotThreadSafe
public static interface IdleSavingsOpportunityAfterDiscounts.Builder
extends SdkPojo, CopyableBuilder<IdleSavingsOpportunityAfterDiscounts.Builder,IdleSavingsOpportunityAfterDiscounts>
-
Method Summary
Modifier and TypeMethodDescriptionestimatedMonthlySavings
(Consumer<IdleEstimatedMonthlySavings.Builder> estimatedMonthlySavings) The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.estimatedMonthlySavings
(IdleEstimatedMonthlySavings estimatedMonthlySavings) The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.savingsOpportunityPercentage
(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 Details
-
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.Builder
avoiding the need to create one manually viaIdleEstimatedMonthlySavings.builder()
.When the
Consumer
completes,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:
-