Interface DBRecommendation.Builder

    • Method Detail

      • 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

        DBRecommendation.Builder typeId​(String 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

        DBRecommendation.Builder status​(String 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

        DBRecommendation.Builder reason​(String 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.
      • 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

        DBRecommendation.Builder source​(String 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

        DBRecommendation.Builder impact​(String 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

        DBRecommendation.Builder links​(Collection<DocLink> 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

        DBRecommendation.Builder links​(DocLink... 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

        DBRecommendation.Builder links​(Consumer<DocLink.Builder>... 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).

        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:
        #links(java.util.Collection)
      • 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.