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 DB instance recommendations.cpuVendorArchitectures
(CpuVendorArchitecture... cpuVendorArchitectures) Describes the CPU vendor and architecture for DB instance recommendations.cpuVendorArchitecturesWithStrings
(String... cpuVendorArchitectures) Describes the CPU vendor and architecture for DB instance recommendations.cpuVendorArchitecturesWithStrings
(Collection<String> cpuVendorArchitectures) Describes the CPU vendor and architecture for DB instance 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 DB instance are analyzed.lookBackPeriod
(LookBackPeriodPreference lookBackPeriod) The number of days the utilization metrics of the DB instance are analyzed.savingsEstimationMode
(Consumer<RDSSavingsEstimationMode.Builder> savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for DB instances.savingsEstimationMode
(RDSSavingsEstimationMode savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for DB instances.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
-
cpuVendorArchitecturesWithStrings
RDSEffectiveRecommendationPreferences.Builder cpuVendorArchitecturesWithStrings(Collection<String> cpuVendorArchitectures) Describes the CPU vendor and architecture for DB instance recommendations.
- Parameters:
cpuVendorArchitectures
- Describes the CPU vendor and architecture for DB instance 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 DB instance recommendations.
- Parameters:
cpuVendorArchitectures
- Describes the CPU vendor and architecture for DB instance 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 DB instance recommendations.
- Parameters:
cpuVendorArchitectures
- Describes the CPU vendor and architecture for DB instance 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 DB instance recommendations.
- Parameters:
cpuVendorArchitectures
- Describes the CPU vendor and architecture for DB instance 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
Active
confirms that the preference is applied in the latest recommendation refresh, and a status ofInactive
confirms 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
Active
confirms that the preference is applied in the latest recommendation refresh, and a status ofInactive
confirms 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
Active
confirms that the preference is applied in the latest recommendation refresh, and a status ofInactive
confirms 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
Active
confirms that the preference is applied in the latest recommendation refresh, and a status ofInactive
confirms 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 DB instance are analyzed.
- Parameters:
lookBackPeriod
- The number of days the utilization metrics of the DB instance 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 DB instance are analyzed.
- Parameters:
lookBackPeriod
- The number of days the utilization metrics of the DB instance 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 DB instances.
- Parameters:
savingsEstimationMode
- Describes the savings estimation mode preference applied for calculating savings opportunity for DB instances.- 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 DB instances.
This is a convenience method that creates an instance of theRDSSavingsEstimationMode.Builder
avoiding the need to create one manually viaRDSSavingsEstimationMode.builder()
.When the
Consumer
completes,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:
-