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

    • id

      A unique identifier of the Advisor recommendation.

      Parameters:
      id - A unique identifier of the Advisor recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterIdentifier

      Recommendation.Builder clusterIdentifier(String clusterIdentifier)

      The unique identifier of the cluster for which the recommendation is returned.

      Parameters:
      clusterIdentifier - The unique identifier of the cluster for which the recommendation is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceArn

      Recommendation.Builder namespaceArn(String namespaceArn)

      The Amazon Redshift cluster namespace ARN for which the recommendations is returned.

      Parameters:
      namespaceArn - The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Recommendation.Builder createdAt(Instant createdAt)

      The date and time (UTC) that the recommendation was created.

      Parameters:
      createdAt - The date and time (UTC) that the recommendation was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationType

      Recommendation.Builder recommendationType(String recommendationType)

      The type of Advisor recommendation.

      Parameters:
      recommendationType - The type of Advisor recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      The title of the recommendation.

      Parameters:
      title - The title of the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Recommendation.Builder description(String description)

      The description of the recommendation.

      Parameters:
      description - The description of the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • observation

      Recommendation.Builder observation(String observation)

      The description of what was observed about your cluster.

      Parameters:
      observation - The description of what was observed about your cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactRanking

      Recommendation.Builder impactRanking(String impactRanking)

      The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.

      Parameters:
      impactRanking - The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • impactRanking

      Recommendation.Builder impactRanking(ImpactRankingType impactRanking)

      The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.

      Parameters:
      impactRanking - The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recommendationText

      Recommendation.Builder recommendationText(String recommendationText)

      The description of the recommendation.

      Parameters:
      recommendationText - The description of the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedActions

      Recommendation.Builder recommendedActions(Collection<RecommendedAction> recommendedActions)

      List of Amazon Redshift recommended actions.

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

      Recommendation.Builder recommendedActions(RecommendedAction... recommendedActions)

      List of Amazon Redshift recommended actions.

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

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

      List of Amazon Redshift 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:
    • referenceLinks

      Recommendation.Builder referenceLinks(Collection<ReferenceLink> referenceLinks)

      List of helpful links for more information about the Advisor recommendation.

      Parameters:
      referenceLinks - List of helpful links for more information about the Advisor recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • referenceLinks

      Recommendation.Builder referenceLinks(ReferenceLink... referenceLinks)

      List of helpful links for more information about the Advisor recommendation.

      Parameters:
      referenceLinks - List of helpful links for more information about the Advisor recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • referenceLinks

      Recommendation.Builder referenceLinks(Consumer<ReferenceLink.Builder>... referenceLinks)

      List of helpful links for more information about the Advisor recommendation.

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

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

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