Interface Recommendation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Recommendation.Builder,Recommendation>, SdkBuilder<Recommendation.Builder,Recommendation>, SdkPojo
Enclosing class:
Recommendation

public static interface Recommendation.Builder extends SdkPojo, CopyableBuilder<Recommendation.Builder,Recommendation>
  • Method Details

    • databaseId

      Recommendation.Builder databaseId(String databaseId)

      The identifier of the source database for which Fleet Advisor provided this recommendation.

      Parameters:
      databaseId - The identifier of the source database for which Fleet Advisor provided this recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engineName

      Recommendation.Builder engineName(String engineName)

      The name of the target engine. Valid values include "rds-aurora-mysql", "rds-aurora-postgresql", "rds-mysql", "rds-oracle", "rds-sql-server", and "rds-postgresql".

      Parameters:
      engineName - The name of the target engine. Valid values include "rds-aurora-mysql", "rds-aurora-postgresql", "rds-mysql", "rds-oracle", "rds-sql-server", and "rds-postgresql".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      Recommendation.Builder createdDate(String createdDate)

      The date when Fleet Advisor created the target engine recommendation.

      Parameters:
      createdDate - The date when Fleet Advisor created the target engine recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the target engine recommendation. Valid values include "alternate", "in-progress", "not-viable", and "recommended".

      Parameters:
      status - The status of the target engine recommendation. Valid values include "alternate", "in-progress", "not-viable", and "recommended".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preferred

      Recommendation.Builder preferred(Boolean preferred)

      Indicates that this target is the rightsized migration destination.

      Parameters:
      preferred - Indicates that this target is the rightsized migration destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • settings

      The settings in JSON format for the preferred target engine parameters. These parameters include capacity, resource utilization, and the usage type (production, development, or testing).

      Parameters:
      settings - The settings in JSON format for the preferred target engine parameters. These parameters include capacity, resource utilization, and the usage type (production, development, or testing).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • settings

      The settings in JSON format for the preferred target engine parameters. These parameters include capacity, resource utilization, and the usage type (production, development, or testing).

      This is a convenience method that creates an instance of the RecommendationSettings.Builder avoiding the need to create one manually via RecommendationSettings.builder().

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

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

      The recommendation of a target engine for the specified source database.

      Parameters:
      data - The recommendation of a target engine for the specified source database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • data

      The recommendation of a target engine for the specified source database.

      This is a convenience method that creates an instance of the RecommendationData.Builder avoiding the need to create one manually via RecommendationData.builder().

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

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