Interface RDSDBInstanceRecommendationOption.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RDSDBInstanceRecommendationOption.Builder,RDSDBInstanceRecommendationOption>,SdkBuilder<RDSDBInstanceRecommendationOption.Builder,RDSDBInstanceRecommendationOption>,SdkPojo
- Enclosing class:
- RDSDBInstanceRecommendationOption
public static interface RDSDBInstanceRecommendationOption.Builder extends SdkPojo, CopyableBuilder<RDSDBInstanceRecommendationOption.Builder,RDSDBInstanceRecommendationOption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RDSDBInstanceRecommendationOption.BuilderdbInstanceClass(String dbInstanceClass)Describes the DB instance class recommendation option for your Amazon RDS instance.RDSDBInstanceRecommendationOption.BuilderperformanceRisk(Double performanceRisk)The performance risk of the RDS instance recommendation option.RDSDBInstanceRecommendationOption.BuilderprojectedUtilizationMetrics(Collection<RDSDBUtilizationMetric> projectedUtilizationMetrics)An array of objects that describe the projected utilization metrics of the RDS instance recommendation option.RDSDBInstanceRecommendationOption.BuilderprojectedUtilizationMetrics(Consumer<RDSDBUtilizationMetric.Builder>... projectedUtilizationMetrics)An array of objects that describe the projected utilization metrics of the RDS instance recommendation option.RDSDBInstanceRecommendationOption.BuilderprojectedUtilizationMetrics(RDSDBUtilizationMetric... projectedUtilizationMetrics)An array of objects that describe the projected utilization metrics of the RDS instance recommendation option.RDSDBInstanceRecommendationOption.Builderrank(Integer rank)The rank identifier of the RDS instance recommendation option.default RDSDBInstanceRecommendationOption.BuildersavingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity)Sets the value of the SavingsOpportunity property for this object.RDSDBInstanceRecommendationOption.BuildersavingsOpportunity(SavingsOpportunity savingsOpportunity)Sets the value of the SavingsOpportunity property for this object.default RDSDBInstanceRecommendationOption.BuildersavingsOpportunityAfterDiscounts(Consumer<RDSInstanceSavingsOpportunityAfterDiscounts.Builder> savingsOpportunityAfterDiscounts)Describes the savings opportunity for Amazon RDS recommendations or for the recommendation option.RDSDBInstanceRecommendationOption.BuildersavingsOpportunityAfterDiscounts(RDSInstanceSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts)Describes the savings opportunity for Amazon RDS 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 Detail
-
dbInstanceClass
RDSDBInstanceRecommendationOption.Builder dbInstanceClass(String dbInstanceClass)
Describes the DB instance class recommendation option for your Amazon RDS instance.
- Parameters:
dbInstanceClass- Describes the DB instance class recommendation option for your Amazon RDS instance.- 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 RDS instance recommendation option.
- Parameters:
projectedUtilizationMetrics- An array of objects that describe the projected utilization metrics of the RDS 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 RDS instance recommendation option.
- Parameters:
projectedUtilizationMetrics- An array of objects that describe the projected utilization metrics of the RDS 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 RDS instance recommendation option.
This is a convenience method that creates an instance of theRDSDBUtilizationMetric.Builderavoiding the need to create one manually viaRDSDBUtilizationMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#projectedUtilizationMetrics(List.) - 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:
#projectedUtilizationMetrics(java.util.Collection)
-
performanceRisk
RDSDBInstanceRecommendationOption.Builder performanceRisk(Double performanceRisk)
The performance risk of the RDS instance recommendation option.
- Parameters:
performanceRisk- The performance risk of the RDS instance recommendation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rank
RDSDBInstanceRecommendationOption.Builder rank(Integer rank)
The rank identifier of the RDS instance recommendation option.
- Parameters:
rank- The rank identifier of the RDS instance recommendation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsOpportunity
RDSDBInstanceRecommendationOption.Builder savingsOpportunity(SavingsOpportunity 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.Builderavoiding the need to create one manually viaSavingsOpportunity.builder().When the
Consumercompletes,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:
savingsOpportunity(SavingsOpportunity)
-
savingsOpportunityAfterDiscounts
RDSDBInstanceRecommendationOption.Builder savingsOpportunityAfterDiscounts(RDSInstanceSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts)
Describes the savings opportunity for Amazon RDS 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 RDS 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 RDS 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.Builderavoiding the need to create one manually viaRDSInstanceSavingsOpportunityAfterDiscounts.builder().When the
Consumercompletes,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:
savingsOpportunityAfterDiscounts(RDSInstanceSavingsOpportunityAfterDiscounts)
-
-