Interface RDSEffectiveRecommendationPreferences.Builder

  • 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 of Inactive 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 of Inactive 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 of Inactive 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 of Inactive 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

      RDSEffectiveRecommendationPreferences.Builder lookBackPeriod(String 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

      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 the RDSSavingsEstimationMode.Builder avoiding the need to create one manually via RDSSavingsEstimationMode.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to savingsEstimationMode(RDSSavingsEstimationMode).

      Parameters:
      savingsEstimationMode - a consumer that will call methods on RDSSavingsEstimationMode.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: