Interface Recommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Recommendation.Builder,
,Recommendation> SdkBuilder<Recommendation.Builder,
,Recommendation> SdkPojo
- Enclosing class:
Recommendation
-
Method Summary
Modifier and TypeMethodDescriptionclusterIdentifier
(String clusterIdentifier) The unique identifier of the cluster for which the recommendation is returned.The date and time (UTC) that the recommendation was created.description
(String description) The description of the recommendation.A unique identifier of the Advisor recommendation.impactRanking
(String impactRanking) The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.impactRanking
(ImpactRankingType impactRanking) The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.namespaceArn
(String namespaceArn) The Amazon Redshift cluster namespace ARN for which the recommendations is returned.observation
(String observation) The description of what was observed about your cluster.recommendationText
(String recommendationText) The description of the recommendation.recommendationType
(String recommendationType) The type of Advisor recommendation.recommendedActions
(Collection<RecommendedAction> recommendedActions) List of Amazon Redshift recommended actions.recommendedActions
(Consumer<RecommendedAction.Builder>... recommendedActions) List of Amazon Redshift recommended actions.recommendedActions
(RecommendedAction... recommendedActions) List of Amazon Redshift recommended actions.referenceLinks
(Collection<ReferenceLink> referenceLinks) List of helpful links for more information about the Advisor recommendation.referenceLinks
(Consumer<ReferenceLink.Builder>... referenceLinks) List of helpful links for more information about the Advisor recommendation.referenceLinks
(ReferenceLink... referenceLinks) List of helpful links for more information about the Advisor recommendation.The title of the recommendation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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
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
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
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
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
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
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
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 theRecommendedAction.Builder
avoiding the need to create one manually viaRecommendedAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendedActions(List<RecommendedAction>)
.- Parameters:
recommendedActions
- a consumer that will call methods onRecommendedAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
List of helpful links for more information about the Advisor recommendation.
This is a convenience method that creates an instance of theReferenceLink.Builder
avoiding the need to create one manually viaReferenceLink.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreferenceLinks(List<ReferenceLink>)
.- Parameters:
referenceLinks
- a consumer that will call methods onReferenceLink.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-