Interface DBRecommendation.Builder

  • Method Details

    • recommendationId

      DBRecommendation.Builder recommendationId(String recommendationId)

      The unique identifier of the recommendation.

      Parameters:
      recommendationId - The unique identifier of the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • typeId

      A value that indicates the type of recommendation. This value determines how the description is rendered.

      Parameters:
      typeId - A value that indicates the type of recommendation. This value determines how the description is rendered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severity

      DBRecommendation.Builder severity(String severity)

      The severity level of the recommendation. The severity level can help you decide the urgency with which to address the recommendation.

      Valid values:

      • high

      • medium

      • low

      • informational

      Parameters:
      severity - The severity level of the recommendation. The severity level can help you decide the urgency with which to address the recommendation.

      Valid values:

      • high

      • medium

      • low

      • informational

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      DBRecommendation.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the recommendation.

      Valid values:

      • active - The recommendations which are ready for you to apply.

      • pending - The applied or scheduled recommendations which are in progress.

      • resolved - The recommendations which are completed.

      • dismissed - The recommendations that you dismissed.

      Parameters:
      status - The current status of the recommendation.

      Valid values:

      • active - The recommendations which are ready for you to apply.

      • pending - The applied or scheduled recommendations which are in progress.

      • resolved - The recommendations which are completed.

      • dismissed - The recommendations that you dismissed.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTime

      DBRecommendation.Builder createdTime(Instant createdTime)

      The time when the recommendation was created. For example, 2023-09-28T01:13:53.931000+00:00.

      Parameters:
      createdTime - The time when the recommendation was created. For example, 2023-09-28T01:13:53.931000+00:00.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedTime

      DBRecommendation.Builder updatedTime(Instant updatedTime)

      The time when the recommendation was last updated.

      Parameters:
      updatedTime - The time when the recommendation was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detection

      DBRecommendation.Builder detection(String detection)

      A short description of the issue identified for this recommendation. The description might contain markdown.

      Parameters:
      detection - A short description of the issue identified for this recommendation. The description might contain markdown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendation

      DBRecommendation.Builder recommendation(String recommendation)

      A short description of the recommendation to resolve an issue. The description might contain markdown.

      Parameters:
      recommendation - A short description of the recommendation to resolve an issue. The description might contain markdown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      DBRecommendation.Builder description(String description)

      A detailed description of the recommendation. The description might contain markdown.

      Parameters:
      description - A detailed description of the recommendation. The description might contain markdown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reason

      The reason why this recommendation was created. The information might contain markdown.

      Parameters:
      reason - The reason why this recommendation was created. The information might contain markdown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedActions

      DBRecommendation.Builder recommendedActions(Collection<RecommendedAction> recommendedActions)

      A list of recommended actions.

      Parameters:
      recommendedActions - A list of recommended actions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedActions

      DBRecommendation.Builder recommendedActions(RecommendedAction... recommendedActions)

      A list of recommended actions.

      Parameters:
      recommendedActions - A list of recommended actions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedActions

      DBRecommendation.Builder recommendedActions(Consumer<RecommendedAction.Builder>... recommendedActions)

      A list of recommended actions.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recommendedActions(List<RecommendedAction>).

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

      DBRecommendation.Builder category(String category)

      The category of the recommendation.

      Valid values:

      • performance efficiency

      • security

      • reliability

      • cost optimization

      • operational excellence

      • sustainability

      Parameters:
      category - The category of the recommendation.

      Valid values:

      • performance efficiency

      • security

      • reliability

      • cost optimization

      • operational excellence

      • sustainability

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      The Amazon Web Services service that generated the recommendations.

      Parameters:
      source - The Amazon Web Services service that generated the recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • typeDetection

      DBRecommendation.Builder typeDetection(String typeDetection)

      A short description of the recommendation type. The description might contain markdown.

      Parameters:
      typeDetection - A short description of the recommendation type. The description might contain markdown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • typeRecommendation

      DBRecommendation.Builder typeRecommendation(String typeRecommendation)

      A short description that summarizes the recommendation to fix all the issues of the recommendation type. The description might contain markdown.

      Parameters:
      typeRecommendation - A short description that summarizes the recommendation to fix all the issues of the recommendation type. The description might contain markdown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impact

      A short description that explains the possible impact of an issue.

      Parameters:
      impact - A short description that explains the possible impact of an issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalInfo

      DBRecommendation.Builder additionalInfo(String additionalInfo)

      Additional information about the recommendation. The information might contain markdown.

      Parameters:
      additionalInfo - Additional information about the recommendation. The information might contain markdown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • links

      A link to documentation that provides additional information about the recommendation.

      Parameters:
      links - A link to documentation that provides additional information about the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • links

      A link to documentation that provides additional information about the recommendation.

      Parameters:
      links - A link to documentation that provides additional information about the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • links

      A link to documentation that provides additional information about the recommendation.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to links(List<DocLink>).

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

      DBRecommendation.Builder issueDetails(IssueDetails issueDetails)

      Details of the issue that caused the recommendation.

      Parameters:
      issueDetails - Details of the issue that caused the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issueDetails

      default DBRecommendation.Builder issueDetails(Consumer<IssueDetails.Builder> issueDetails)

      Details of the issue that caused the recommendation.

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

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

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