Interface EBSSavingsOpportunityAfterDiscounts.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EBSSavingsOpportunityAfterDiscounts.Builder,
,EBSSavingsOpportunityAfterDiscounts> SdkBuilder<EBSSavingsOpportunityAfterDiscounts.Builder,
,EBSSavingsOpportunityAfterDiscounts> SdkPojo
- Enclosing class:
EBSSavingsOpportunityAfterDiscounts
@Mutable
@NotThreadSafe
public static interface EBSSavingsOpportunityAfterDiscounts.Builder
extends SdkPojo, CopyableBuilder<EBSSavingsOpportunityAfterDiscounts.Builder,EBSSavingsOpportunityAfterDiscounts>
-
Method Summary
Modifier and TypeMethodDescriptionestimatedMonthlySavings
(Consumer<EBSEstimatedMonthlySavings.Builder> estimatedMonthlySavings) The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations.estimatedMonthlySavings
(EBSEstimatedMonthlySavings estimatedMonthlySavings) The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations.savingsOpportunityPercentage
(Double savingsOpportunityPercentage) The estimated monthly savings possible as a percentage of monthly cost after applying the specific discounts.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
EBSSavingsOpportunityAfterDiscounts.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage) The estimated monthly savings possible as a percentage of monthly cost after applying the specific discounts. This saving can be achieved by adopting Compute Optimizer’s Amazon EBS volume recommendations.
- Parameters:
savingsOpportunityPercentage
- The estimated monthly savings possible as a percentage of monthly cost after applying the specific discounts. This saving can be achieved by adopting Compute Optimizer’s Amazon EBS volume recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
EBSSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(EBSEstimatedMonthlySavings estimatedMonthlySavings) The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations. This saving includes any applicable discounts.
- Parameters:
estimatedMonthlySavings
- The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations. This saving includes any applicable discounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
default EBSSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(Consumer<EBSEstimatedMonthlySavings.Builder> estimatedMonthlySavings) The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations. This saving includes any applicable discounts.
This is a convenience method that creates an instance of theEBSEstimatedMonthlySavings.Builder
avoiding the need to create one manually viaEBSEstimatedMonthlySavings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toestimatedMonthlySavings(EBSEstimatedMonthlySavings)
.- Parameters:
estimatedMonthlySavings
- a consumer that will call methods onEBSEstimatedMonthlySavings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-