Interface RDSDBInstanceRecommendationOption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RDSDBInstanceRecommendationOption.Builder,
,RDSDBInstanceRecommendationOption> SdkBuilder<RDSDBInstanceRecommendationOption.Builder,
,RDSDBInstanceRecommendationOption> SdkPojo
- Enclosing class:
RDSDBInstanceRecommendationOption
-
Method Summary
Modifier and TypeMethodDescriptiondbInstanceClass
(String dbInstanceClass) Describes the DB instance class recommendation option for your Amazon Aurora or RDS database.performanceRisk
(Double performanceRisk) The performance risk of the DB instance recommendation option.projectedUtilizationMetrics
(Collection<RDSDBUtilizationMetric> projectedUtilizationMetrics) An array of objects that describe the projected utilization metrics of the DB instance recommendation option.projectedUtilizationMetrics
(Consumer<RDSDBUtilizationMetric.Builder>... projectedUtilizationMetrics) An array of objects that describe the projected utilization metrics of the DB instance recommendation option.projectedUtilizationMetrics
(RDSDBUtilizationMetric... projectedUtilizationMetrics) An array of objects that describe the projected utilization metrics of the DB instance recommendation option.The rank identifier of the DB instance 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<RDSInstanceSavingsOpportunityAfterDiscounts.Builder> savingsOpportunityAfterDiscounts) Describes the savings opportunity for Amazon Aurora and RDS database recommendations or for the recommendation option.savingsOpportunityAfterDiscounts
(RDSInstanceSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts) Describes the savings opportunity for Amazon Aurora and RDS database recommendations or for the recommendation option.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
-
dbInstanceClass
Describes the DB instance class recommendation option for your Amazon Aurora or RDS database.
- Parameters:
dbInstanceClass
- Describes the DB instance class recommendation option for your Amazon Aurora or RDS database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectedUtilizationMetrics
RDSDBInstanceRecommendationOption.Builder projectedUtilizationMetrics(Collection<RDSDBUtilizationMetric> projectedUtilizationMetrics) An array of objects that describe the projected utilization metrics of the DB instance recommendation option.
- Parameters:
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the DB instance recommendation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectedUtilizationMetrics
RDSDBInstanceRecommendationOption.Builder projectedUtilizationMetrics(RDSDBUtilizationMetric... projectedUtilizationMetrics) An array of objects that describe the projected utilization metrics of the DB instance recommendation option.
- Parameters:
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the DB instance recommendation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectedUtilizationMetrics
RDSDBInstanceRecommendationOption.Builder projectedUtilizationMetrics(Consumer<RDSDBUtilizationMetric.Builder>... projectedUtilizationMetrics) An array of objects that describe the projected utilization metrics of the DB instance recommendation option.
This is a convenience method that creates an instance of theRDSDBUtilizationMetric.Builder
avoiding the need to create one manually viaRDSDBUtilizationMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprojectedUtilizationMetrics(List<RDSDBUtilizationMetric>)
.- Parameters:
projectedUtilizationMetrics
- a consumer that will call methods onRDSDBUtilizationMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
performanceRisk
The performance risk of the DB instance recommendation option.
- Parameters:
performanceRisk
- The performance risk of the DB instance recommendation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rank
The rank identifier of the DB instance recommendation option.
- Parameters:
rank
- The rank identifier of the DB instance 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 RDSDBInstanceRecommendationOption.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
RDSDBInstanceRecommendationOption.Builder savingsOpportunityAfterDiscounts(RDSInstanceSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts) Describes the savings opportunity for Amazon Aurora and RDS database 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 Amazon Aurora and RDS database 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 RDSDBInstanceRecommendationOption.Builder savingsOpportunityAfterDiscounts(Consumer<RDSInstanceSavingsOpportunityAfterDiscounts.Builder> savingsOpportunityAfterDiscounts) Describes the savings opportunity for Amazon Aurora and RDS database 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 theRDSInstanceSavingsOpportunityAfterDiscounts.Builder
avoiding the need to create one manually viaRDSInstanceSavingsOpportunityAfterDiscounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsOpportunityAfterDiscounts(RDSInstanceSavingsOpportunityAfterDiscounts)
.- Parameters:
savingsOpportunityAfterDiscounts
- a consumer that will call methods onRDSInstanceSavingsOpportunityAfterDiscounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-