@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Recommendation extends Object implements Serializable, Cloneable
An Amazon Redshift Advisor recommended action on the Amazon Redshift cluster.
Constructor and Description |
---|
Recommendation() |
Modifier and Type | Method and Description |
---|---|
Recommendation |
clone() |
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
The unique identifier of the cluster for which the recommendation is returned.
|
Date |
getCreatedAt()
The date and time (UTC) that the recommendation was created.
|
String |
getDescription()
The description of the recommendation.
|
String |
getId()
A unique identifier of the Advisor recommendation.
|
String |
getImpactRanking()
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
|
String |
getNamespaceArn()
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
|
String |
getObservation()
The description of what was observed about your cluster.
|
String |
getRecommendationText()
The description of the recommendation.
|
String |
getRecommendationType()
The type of Advisor recommendation.
|
List<RecommendedAction> |
getRecommendedActions()
List of Amazon Redshift recommended actions.
|
List<ReferenceLink> |
getReferenceLinks()
List of helpful links for more information about the Advisor recommendation.
|
String |
getTitle()
The title of the recommendation.
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster for which the recommendation is returned.
|
void |
setCreatedAt(Date createdAt)
The date and time (UTC) that the recommendation was created.
|
void |
setDescription(String description)
The description of the recommendation.
|
void |
setId(String id)
A unique identifier of the Advisor recommendation.
|
void |
setImpactRanking(String impactRanking)
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
|
void |
setNamespaceArn(String namespaceArn)
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
|
void |
setObservation(String observation)
The description of what was observed about your cluster.
|
void |
setRecommendationText(String recommendationText)
The description of the recommendation.
|
void |
setRecommendationType(String recommendationType)
The type of Advisor recommendation.
|
void |
setRecommendedActions(Collection<RecommendedAction> recommendedActions)
List of Amazon Redshift recommended actions.
|
void |
setReferenceLinks(Collection<ReferenceLink> referenceLinks)
List of helpful links for more information about the Advisor recommendation.
|
void |
setTitle(String title)
The title of the recommendation.
|
String |
toString()
Returns a string representation of this object.
|
Recommendation |
withClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster for which the recommendation is returned.
|
Recommendation |
withCreatedAt(Date createdAt)
The date and time (UTC) that the recommendation was created.
|
Recommendation |
withDescription(String description)
The description of the recommendation.
|
Recommendation |
withId(String id)
A unique identifier of the Advisor recommendation.
|
Recommendation |
withImpactRanking(ImpactRankingType impactRanking)
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
|
Recommendation |
withImpactRanking(String impactRanking)
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
|
Recommendation |
withNamespaceArn(String namespaceArn)
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
|
Recommendation |
withObservation(String observation)
The description of what was observed about your cluster.
|
Recommendation |
withRecommendationText(String recommendationText)
The description of the recommendation.
|
Recommendation |
withRecommendationType(String recommendationType)
The type of Advisor recommendation.
|
Recommendation |
withRecommendedActions(Collection<RecommendedAction> recommendedActions)
List of Amazon Redshift recommended actions.
|
Recommendation |
withRecommendedActions(RecommendedAction... recommendedActions)
List of Amazon Redshift recommended actions.
|
Recommendation |
withReferenceLinks(Collection<ReferenceLink> referenceLinks)
List of helpful links for more information about the Advisor recommendation.
|
Recommendation |
withReferenceLinks(ReferenceLink... referenceLinks)
List of helpful links for more information about the Advisor recommendation.
|
Recommendation |
withTitle(String title)
The title of the recommendation.
|
public void setId(String id)
A unique identifier of the Advisor recommendation.
id
- A unique identifier of the Advisor recommendation.public String getId()
A unique identifier of the Advisor recommendation.
public Recommendation withId(String id)
A unique identifier of the Advisor recommendation.
id
- A unique identifier of the Advisor recommendation.public void setClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster for which the recommendation is returned.
clusterIdentifier
- The unique identifier of the cluster for which the recommendation is returned.public String getClusterIdentifier()
The unique identifier of the cluster for which the recommendation is returned.
public Recommendation withClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster for which the recommendation is returned.
clusterIdentifier
- The unique identifier of the cluster for which the recommendation is returned.public void setNamespaceArn(String namespaceArn)
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
namespaceArn
- The Amazon Redshift cluster namespace ARN for which the recommendations is returned.public String getNamespaceArn()
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
public Recommendation withNamespaceArn(String namespaceArn)
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
namespaceArn
- The Amazon Redshift cluster namespace ARN for which the recommendations is returned.public void setCreatedAt(Date createdAt)
The date and time (UTC) that the recommendation was created.
createdAt
- The date and time (UTC) that the recommendation was created.public Date getCreatedAt()
The date and time (UTC) that the recommendation was created.
public Recommendation withCreatedAt(Date createdAt)
The date and time (UTC) that the recommendation was created.
createdAt
- The date and time (UTC) that the recommendation was created.public void setRecommendationType(String recommendationType)
The type of Advisor recommendation.
recommendationType
- The type of Advisor recommendation.public String getRecommendationType()
The type of Advisor recommendation.
public Recommendation withRecommendationType(String recommendationType)
The type of Advisor recommendation.
recommendationType
- The type of Advisor recommendation.public void setTitle(String title)
The title of the recommendation.
title
- The title of the recommendation.public String getTitle()
The title of the recommendation.
public Recommendation withTitle(String title)
The title of the recommendation.
title
- The title of the recommendation.public void setDescription(String description)
The description of the recommendation.
description
- The description of the recommendation.public String getDescription()
The description of the recommendation.
public Recommendation withDescription(String description)
The description of the recommendation.
description
- The description of the recommendation.public void setObservation(String observation)
The description of what was observed about your cluster.
observation
- The description of what was observed about your cluster.public String getObservation()
The description of what was observed about your cluster.
public Recommendation withObservation(String observation)
The description of what was observed about your cluster.
observation
- The description of what was observed about your cluster.public void setImpactRanking(String impactRanking)
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
impactRanking
- The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.ImpactRankingType
public String getImpactRanking()
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
ImpactRankingType
public Recommendation withImpactRanking(String impactRanking)
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
impactRanking
- The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.ImpactRankingType
public Recommendation withImpactRanking(ImpactRankingType impactRanking)
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
impactRanking
- The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.ImpactRankingType
public void setRecommendationText(String recommendationText)
The description of the recommendation.
recommendationText
- The description of the recommendation.public String getRecommendationText()
The description of the recommendation.
public Recommendation withRecommendationText(String recommendationText)
The description of the recommendation.
recommendationText
- The description of the recommendation.public List<RecommendedAction> getRecommendedActions()
List of Amazon Redshift recommended actions.
public void setRecommendedActions(Collection<RecommendedAction> recommendedActions)
List of Amazon Redshift recommended actions.
recommendedActions
- List of Amazon Redshift recommended actions.public Recommendation withRecommendedActions(RecommendedAction... recommendedActions)
List of Amazon Redshift recommended actions.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendedActions(java.util.Collection)
or withRecommendedActions(java.util.Collection)
if
you want to override the existing values.
recommendedActions
- List of Amazon Redshift recommended actions.public Recommendation withRecommendedActions(Collection<RecommendedAction> recommendedActions)
List of Amazon Redshift recommended actions.
recommendedActions
- List of Amazon Redshift recommended actions.public List<ReferenceLink> getReferenceLinks()
List of helpful links for more information about the Advisor recommendation.
public void setReferenceLinks(Collection<ReferenceLink> referenceLinks)
List of helpful links for more information about the Advisor recommendation.
referenceLinks
- List of helpful links for more information about the Advisor recommendation.public Recommendation withReferenceLinks(ReferenceLink... referenceLinks)
List of helpful links for more information about the Advisor recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setReferenceLinks(java.util.Collection)
or withReferenceLinks(java.util.Collection)
if you want
to override the existing values.
referenceLinks
- List of helpful links for more information about the Advisor recommendation.public Recommendation withReferenceLinks(Collection<ReferenceLink> referenceLinks)
List of helpful links for more information about the Advisor recommendation.
referenceLinks
- List of helpful links for more information about the Advisor recommendation.public String toString()
toString
in class Object
Object.toString()
public Recommendation clone()