Interface RDSEffectiveRecommendationPreferences.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RDSEffectiveRecommendationPreferences.Builder,,RDSEffectiveRecommendationPreferences> SdkBuilder<RDSEffectiveRecommendationPreferences.Builder,,RDSEffectiveRecommendationPreferences> SdkPojo
- Enclosing class:
RDSEffectiveRecommendationPreferences
-
Method Summary
Modifier and TypeMethodDescriptioncpuVendorArchitectures(Collection<CpuVendorArchitecture> cpuVendorArchitectures) Describes the CPU vendor and architecture for Amazon RDS recommendations.cpuVendorArchitectures(CpuVendorArchitecture... cpuVendorArchitectures) Describes the CPU vendor and architecture for Amazon RDS recommendations.cpuVendorArchitecturesWithStrings(String... cpuVendorArchitectures) Describes the CPU vendor and architecture for Amazon RDS recommendations.cpuVendorArchitecturesWithStrings(Collection<String> cpuVendorArchitectures) Describes the CPU vendor and architecture for Amazon RDS recommendations.enhancedInfrastructureMetrics(String enhancedInfrastructureMetrics) Describes the activation status of the enhanced infrastructure metrics preference.enhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics) Describes the activation status of the enhanced infrastructure metrics preference.lookBackPeriod(String lookBackPeriod) The number of days the utilization metrics of the Amazon RDS are analyzed.lookBackPeriod(LookBackPeriodPreference lookBackPeriod) The number of days the utilization metrics of the Amazon RDS are analyzed.savingsEstimationMode(Consumer<RDSSavingsEstimationMode.Builder> savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon RDS.savingsEstimationMode(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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:
-
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:
-
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:
-