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