Interface RDSDBStorageRecommendationOption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RDSDBStorageRecommendationOption.Builder,
,RDSDBStorageRecommendationOption> SdkBuilder<RDSDBStorageRecommendationOption.Builder,
,RDSDBStorageRecommendationOption> SdkPojo
- Enclosing class:
RDSDBStorageRecommendationOption
-
Method Summary
Modifier and TypeMethodDescriptionestimatedMonthlyVolumeIOPsCostVariation
(String estimatedMonthlyVolumeIOPsCostVariation) The projected level of variation in monthly I/O costs for the DB storage recommendation option.estimatedMonthlyVolumeIOPsCostVariation
(RDSEstimatedMonthlyVolumeIOPsCostVariation estimatedMonthlyVolumeIOPsCostVariation) The projected level of variation in monthly I/O costs for the DB storage recommendation option.The rank identifier of the DB storage recommendation option.savingsOpportunity
(Consumer<SavingsOpportunity.Builder> savingsOpportunity) Sets the value of the SavingsOpportunity property for this object.savingsOpportunity
(SavingsOpportunity savingsOpportunity) Sets the value of the SavingsOpportunity property for this object.savingsOpportunityAfterDiscounts
(Consumer<RDSStorageSavingsOpportunityAfterDiscounts.Builder> savingsOpportunityAfterDiscounts) Describes the savings opportunity for DB storage recommendations or for the recommendation option.savingsOpportunityAfterDiscounts
(RDSStorageSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts) Describes the savings opportunity for DB storage recommendations or for the recommendation option.storageConfiguration
(Consumer<DBStorageConfiguration.Builder> storageConfiguration) The recommended storage configuration.storageConfiguration
(DBStorageConfiguration storageConfiguration) The recommended storage configuration.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
-
storageConfiguration
RDSDBStorageRecommendationOption.Builder storageConfiguration(DBStorageConfiguration storageConfiguration) The recommended storage configuration.
- Parameters:
storageConfiguration
- The recommended storage configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfiguration
default RDSDBStorageRecommendationOption.Builder storageConfiguration(Consumer<DBStorageConfiguration.Builder> storageConfiguration) The recommended storage configuration.
This is a convenience method that creates an instance of theDBStorageConfiguration.Builder
avoiding the need to create one manually viaDBStorageConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageConfiguration(DBStorageConfiguration)
.- Parameters:
storageConfiguration
- a consumer that will call methods onDBStorageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rank
The rank identifier of the DB storage recommendation option.
- Parameters:
rank
- The rank identifier of the DB storage recommendation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsOpportunity
Sets the value of the SavingsOpportunity property for this object.- Parameters:
savingsOpportunity
- The new value for the SavingsOpportunity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsOpportunity
default RDSDBStorageRecommendationOption.Builder savingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity) Sets the value of the SavingsOpportunity property for this object. This is a convenience method that creates an instance of theSavingsOpportunity.Builder
avoiding the need to create one manually viaSavingsOpportunity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsOpportunity(SavingsOpportunity)
.- Parameters:
savingsOpportunity
- a consumer that will call methods onSavingsOpportunity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsOpportunityAfterDiscounts
RDSDBStorageRecommendationOption.Builder savingsOpportunityAfterDiscounts(RDSStorageSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts) Describes the savings opportunity for DB storage recommendations or for the recommendation option.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
- Parameters:
savingsOpportunityAfterDiscounts
- Describes the savings opportunity for DB storage recommendations or for the recommendation option.Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsOpportunityAfterDiscounts
default RDSDBStorageRecommendationOption.Builder savingsOpportunityAfterDiscounts(Consumer<RDSStorageSavingsOpportunityAfterDiscounts.Builder> savingsOpportunityAfterDiscounts) Describes the savings opportunity for DB storage recommendations or for the recommendation option.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
This is a convenience method that creates an instance of theRDSStorageSavingsOpportunityAfterDiscounts.Builder
avoiding the need to create one manually viaRDSStorageSavingsOpportunityAfterDiscounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsOpportunityAfterDiscounts(RDSStorageSavingsOpportunityAfterDiscounts)
.- Parameters:
savingsOpportunityAfterDiscounts
- a consumer that will call methods onRDSStorageSavingsOpportunityAfterDiscounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
estimatedMonthlyVolumeIOPsCostVariation
RDSDBStorageRecommendationOption.Builder estimatedMonthlyVolumeIOPsCostVariation(String estimatedMonthlyVolumeIOPsCostVariation) The projected level of variation in monthly I/O costs for the DB storage recommendation option.
- Parameters:
estimatedMonthlyVolumeIOPsCostVariation
- The projected level of variation in monthly I/O costs for the DB storage recommendation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
estimatedMonthlyVolumeIOPsCostVariation
RDSDBStorageRecommendationOption.Builder estimatedMonthlyVolumeIOPsCostVariation(RDSEstimatedMonthlyVolumeIOPsCostVariation estimatedMonthlyVolumeIOPsCostVariation) The projected level of variation in monthly I/O costs for the DB storage recommendation option.
- Parameters:
estimatedMonthlyVolumeIOPsCostVariation
- The projected level of variation in monthly I/O costs for the DB storage recommendation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-