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