Interface RDSEffectiveRecommendationPreferences.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RDSEffectiveRecommendationPreferences.Builder,RDSEffectiveRecommendationPreferences>,SdkBuilder<RDSEffectiveRecommendationPreferences.Builder,RDSEffectiveRecommendationPreferences>,SdkPojo
- Enclosing class:
- RDSEffectiveRecommendationPreferences
public static interface RDSEffectiveRecommendationPreferences.Builder extends SdkPojo, CopyableBuilder<RDSEffectiveRecommendationPreferences.Builder,RDSEffectiveRecommendationPreferences>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RDSEffectiveRecommendationPreferences.BuildercpuVendorArchitectures(Collection<CpuVendorArchitecture> cpuVendorArchitectures)Describes the CPU vendor and architecture for Amazon RDS recommendations.RDSEffectiveRecommendationPreferences.BuildercpuVendorArchitectures(CpuVendorArchitecture... cpuVendorArchitectures)Describes the CPU vendor and architecture for Amazon RDS recommendations.RDSEffectiveRecommendationPreferences.BuildercpuVendorArchitecturesWithStrings(String... cpuVendorArchitectures)Describes the CPU vendor and architecture for Amazon RDS recommendations.RDSEffectiveRecommendationPreferences.BuildercpuVendorArchitecturesWithStrings(Collection<String> cpuVendorArchitectures)Describes the CPU vendor and architecture for Amazon RDS recommendations.RDSEffectiveRecommendationPreferences.BuilderenhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)Describes the activation status of the enhanced infrastructure metrics preference.RDSEffectiveRecommendationPreferences.BuilderenhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)Describes the activation status of the enhanced infrastructure metrics preference.RDSEffectiveRecommendationPreferences.BuilderlookBackPeriod(String lookBackPeriod)The number of days the utilization metrics of the Amazon RDS are analyzed.RDSEffectiveRecommendationPreferences.BuilderlookBackPeriod(LookBackPeriodPreference lookBackPeriod)The number of days the utilization metrics of the Amazon RDS are analyzed.default RDSEffectiveRecommendationPreferences.BuildersavingsEstimationMode(Consumer<RDSSavingsEstimationMode.Builder> savingsEstimationMode)Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon RDS.RDSEffectiveRecommendationPreferences.BuildersavingsEstimationMode(RDSSavingsEstimationMode savingsEstimationMode)Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon RDS.-
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
-
cpuVendorArchitecturesWithStrings
RDSEffectiveRecommendationPreferences.Builder cpuVendorArchitecturesWithStrings(Collection<String> cpuVendorArchitectures)
Describes the CPU vendor and architecture for Amazon RDS recommendations.
- Parameters:
cpuVendorArchitectures- Describes the CPU vendor and architecture for Amazon RDS recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuVendorArchitecturesWithStrings
RDSEffectiveRecommendationPreferences.Builder cpuVendorArchitecturesWithStrings(String... cpuVendorArchitectures)
Describes the CPU vendor and architecture for Amazon RDS recommendations.
- Parameters:
cpuVendorArchitectures- Describes the CPU vendor and architecture for Amazon RDS recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuVendorArchitectures
RDSEffectiveRecommendationPreferences.Builder cpuVendorArchitectures(Collection<CpuVendorArchitecture> cpuVendorArchitectures)
Describes the CPU vendor and architecture for Amazon RDS recommendations.
- Parameters:
cpuVendorArchitectures- Describes the CPU vendor and architecture for Amazon RDS recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuVendorArchitectures
RDSEffectiveRecommendationPreferences.Builder cpuVendorArchitectures(CpuVendorArchitecture... cpuVendorArchitectures)
Describes the CPU vendor and architecture for Amazon RDS recommendations.
- Parameters:
cpuVendorArchitectures- Describes the CPU vendor and architecture for Amazon RDS recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enhancedInfrastructureMetrics
RDSEffectiveRecommendationPreferences.Builder enhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
Describes the activation status of the enhanced infrastructure metrics preference.
A status of
Activeconfirms that the preference is applied in the latest recommendation refresh, and a status ofInactiveconfirms that it's not yet applied to recommendations.For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
- Parameters:
enhancedInfrastructureMetrics- Describes the activation status of the enhanced infrastructure metrics preference.A status of
Activeconfirms that the preference is applied in the latest recommendation refresh, and a status ofInactiveconfirms that it's not yet applied to recommendations.For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnhancedInfrastructureMetrics,EnhancedInfrastructureMetrics
-
enhancedInfrastructureMetrics
RDSEffectiveRecommendationPreferences.Builder enhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
Describes the activation status of the enhanced infrastructure metrics preference.
A status of
Activeconfirms that the preference is applied in the latest recommendation refresh, and a status ofInactiveconfirms that it's not yet applied to recommendations.For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
- Parameters:
enhancedInfrastructureMetrics- Describes the activation status of the enhanced infrastructure metrics preference.A status of
Activeconfirms that the preference is applied in the latest recommendation refresh, and a status ofInactiveconfirms that it's not yet applied to recommendations.For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnhancedInfrastructureMetrics,EnhancedInfrastructureMetrics
-
lookBackPeriod
RDSEffectiveRecommendationPreferences.Builder lookBackPeriod(String lookBackPeriod)
The number of days the utilization metrics of the Amazon RDS are analyzed.
- Parameters:
lookBackPeriod- The number of days the utilization metrics of the Amazon RDS are analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LookBackPeriodPreference,LookBackPeriodPreference
-
lookBackPeriod
RDSEffectiveRecommendationPreferences.Builder lookBackPeriod(LookBackPeriodPreference lookBackPeriod)
The number of days the utilization metrics of the Amazon RDS are analyzed.
- Parameters:
lookBackPeriod- The number of days the utilization metrics of the Amazon RDS are analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LookBackPeriodPreference,LookBackPeriodPreference
-
savingsEstimationMode
RDSEffectiveRecommendationPreferences.Builder savingsEstimationMode(RDSSavingsEstimationMode savingsEstimationMode)
Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon RDS.
- Parameters:
savingsEstimationMode- Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon RDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsEstimationMode
default RDSEffectiveRecommendationPreferences.Builder savingsEstimationMode(Consumer<RDSSavingsEstimationMode.Builder> savingsEstimationMode)
Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon RDS.
This is a convenience method that creates an instance of theRDSSavingsEstimationMode.Builderavoiding the need to create one manually viaRDSSavingsEstimationMode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosavingsEstimationMode(RDSSavingsEstimationMode).- Parameters:
savingsEstimationMode- a consumer that will call methods onRDSSavingsEstimationMode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
savingsEstimationMode(RDSSavingsEstimationMode)
-
-