@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Recommendation extends Object implements Serializable, Cloneable, StructuredPojo
Recommendation information to help you remediate detected anomalous behavior that generated an insight.
Constructor and Description |
---|
Recommendation() |
Modifier and Type | Method and Description |
---|---|
Recommendation |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the problem.
|
String |
getLink()
A hyperlink to information to help you address the problem.
|
String |
getName()
The name of the recommendation.
|
String |
getReason()
The reason DevOps Guru flagged the anomalous behavior as a problem.
|
List<RecommendationRelatedAnomaly> |
getRelatedAnomalies()
Anomalies that are related to the problem.
|
List<RecommendationRelatedEvent> |
getRelatedEvents()
Events that are related to the problem.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description of the problem.
|
void |
setLink(String link)
A hyperlink to information to help you address the problem.
|
void |
setName(String name)
The name of the recommendation.
|
void |
setReason(String reason)
The reason DevOps Guru flagged the anomalous behavior as a problem.
|
void |
setRelatedAnomalies(Collection<RecommendationRelatedAnomaly> relatedAnomalies)
Anomalies that are related to the problem.
|
void |
setRelatedEvents(Collection<RecommendationRelatedEvent> relatedEvents)
Events that are related to the problem.
|
String |
toString()
Returns a string representation of this object.
|
Recommendation |
withDescription(String description)
A description of the problem.
|
Recommendation |
withLink(String link)
A hyperlink to information to help you address the problem.
|
Recommendation |
withName(String name)
The name of the recommendation.
|
Recommendation |
withReason(String reason)
The reason DevOps Guru flagged the anomalous behavior as a problem.
|
Recommendation |
withRelatedAnomalies(Collection<RecommendationRelatedAnomaly> relatedAnomalies)
Anomalies that are related to the problem.
|
Recommendation |
withRelatedAnomalies(RecommendationRelatedAnomaly... relatedAnomalies)
Anomalies that are related to the problem.
|
Recommendation |
withRelatedEvents(Collection<RecommendationRelatedEvent> relatedEvents)
Events that are related to the problem.
|
Recommendation |
withRelatedEvents(RecommendationRelatedEvent... relatedEvents)
Events that are related to the problem.
|
public void setDescription(String description)
A description of the problem.
description
- A description of the problem.public String getDescription()
A description of the problem.
public Recommendation withDescription(String description)
A description of the problem.
description
- A description of the problem.public void setLink(String link)
A hyperlink to information to help you address the problem.
link
- A hyperlink to information to help you address the problem.public String getLink()
A hyperlink to information to help you address the problem.
public Recommendation withLink(String link)
A hyperlink to information to help you address the problem.
link
- A hyperlink to information to help you address the problem.public void setName(String name)
The name of the recommendation.
name
- The name of the recommendation.public String getName()
The name of the recommendation.
public Recommendation withName(String name)
The name of the recommendation.
name
- The name of the recommendation.public void setReason(String reason)
The reason DevOps Guru flagged the anomalous behavior as a problem.
reason
- The reason DevOps Guru flagged the anomalous behavior as a problem.public String getReason()
The reason DevOps Guru flagged the anomalous behavior as a problem.
public Recommendation withReason(String reason)
The reason DevOps Guru flagged the anomalous behavior as a problem.
reason
- The reason DevOps Guru flagged the anomalous behavior as a problem.public List<RecommendationRelatedEvent> getRelatedEvents()
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
public void setRelatedEvents(Collection<RecommendationRelatedEvent> relatedEvents)
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
relatedEvents
- Events that are related to the problem. Use these events to learn more about what's happening and to help
address the issue.public Recommendation withRelatedEvents(RecommendationRelatedEvent... relatedEvents)
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedEvents(java.util.Collection)
or withRelatedEvents(java.util.Collection)
if you want
to override the existing values.
relatedEvents
- Events that are related to the problem. Use these events to learn more about what's happening and to help
address the issue.public Recommendation withRelatedEvents(Collection<RecommendationRelatedEvent> relatedEvents)
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
relatedEvents
- Events that are related to the problem. Use these events to learn more about what's happening and to help
address the issue.public List<RecommendationRelatedAnomaly> getRelatedAnomalies()
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
public void setRelatedAnomalies(Collection<RecommendationRelatedAnomaly> relatedAnomalies)
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
relatedAnomalies
- Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to
help address the issue.public Recommendation withRelatedAnomalies(RecommendationRelatedAnomaly... relatedAnomalies)
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedAnomalies(java.util.Collection)
or withRelatedAnomalies(java.util.Collection)
if you
want to override the existing values.
relatedAnomalies
- Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to
help address the issue.public Recommendation withRelatedAnomalies(Collection<RecommendationRelatedAnomaly> relatedAnomalies)
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
relatedAnomalies
- Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to
help address the issue.public String toString()
toString
in class Object
Object.toString()
public Recommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.