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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Recommendation.BuilderclusterIdentifier(String clusterIdentifier)The unique identifier of the cluster for which the recommendation is returned.Recommendation.BuildercreatedAt(Instant createdAt)The date and time (UTC) that the recommendation was created.Recommendation.Builderdescription(String description)The description of the recommendation.Recommendation.Builderid(String id)A unique identifier of the Advisor recommendation.Recommendation.BuilderimpactRanking(String impactRanking)The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.Recommendation.BuilderimpactRanking(ImpactRankingType impactRanking)The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.Recommendation.BuildernamespaceArn(String namespaceArn)The Amazon Redshift cluster namespace ARN for which the recommendations is returned.Recommendation.Builderobservation(String observation)The description of what was observed about your cluster.Recommendation.BuilderrecommendationText(String recommendationText)The description of the recommendation.Recommendation.BuilderrecommendationType(String recommendationType)The type of Advisor recommendation.Recommendation.BuilderrecommendedActions(Collection<RecommendedAction> recommendedActions)List of Amazon Redshift recommended actions.Recommendation.BuilderrecommendedActions(Consumer<RecommendedAction.Builder>... recommendedActions)List of Amazon Redshift recommended actions.Recommendation.BuilderrecommendedActions(RecommendedAction... recommendedActions)List of Amazon Redshift recommended actions.Recommendation.BuilderreferenceLinks(Collection<ReferenceLink> referenceLinks)List of helpful links for more information about the Advisor recommendation.Recommendation.BuilderreferenceLinks(Consumer<ReferenceLink.Builder>... referenceLinks)List of helpful links for more information about the Advisor recommendation.Recommendation.BuilderreferenceLinks(ReferenceLink... referenceLinks)List of helpful links for more information about the Advisor recommendation.Recommendation.Buildertitle(String title)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 Detail
-
id
Recommendation.Builder id(String 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
Recommendation.Builder title(String 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:
ImpactRankingType,ImpactRankingType
-
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:
ImpactRankingType,ImpactRankingType
-
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 theRecommendedAction.Builderavoiding the need to create one manually viaRecommendedAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recommendedActions(List.) - 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:
#recommendedActions(java.util.Collection)
-
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 theReferenceLink.Builderavoiding the need to create one manually viaReferenceLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#referenceLinks(List.) - 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:
#referenceLinks(java.util.Collection)
-
-