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