@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Recommendation extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Recommendation() |
public void setDescription(String description)
description
- public String getDescription()
public Recommendation withDescription(String description)
description
- public void setLink(String link)
link
- public String getLink()
public Recommendation withLink(String link)
link
- public void setName(String name)
name
- public String getName()
public Recommendation withName(String name)
name
- public void setReason(String reason)
reason
- public String getReason()
public Recommendation withReason(String reason)
reason
- public List<RecommendationRelatedAnomaly> getRelatedAnomalies()
public void setRelatedAnomalies(Collection<RecommendationRelatedAnomaly> relatedAnomalies)
relatedAnomalies
- public Recommendation withRelatedAnomalies(RecommendationRelatedAnomaly... relatedAnomalies)
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
- public Recommendation withRelatedAnomalies(Collection<RecommendationRelatedAnomaly> relatedAnomalies)
relatedAnomalies
- public List<RecommendationRelatedEvent> getRelatedEvents()
public void setRelatedEvents(Collection<RecommendationRelatedEvent> relatedEvents)
relatedEvents
- public Recommendation withRelatedEvents(RecommendationRelatedEvent... relatedEvents)
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
- public Recommendation withRelatedEvents(Collection<RecommendationRelatedEvent> relatedEvents)
relatedEvents
- 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.