@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationRelatedEvent extends Object implements Serializable, Cloneable, StructuredPojo
Information about an event that is related to a recommendation.
| Constructor and Description |
|---|
RecommendationRelatedEvent() |
| Modifier and Type | Method and Description |
|---|---|
RecommendationRelatedEvent |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the event.
|
List<RecommendationRelatedEventResource> |
getResources()
A
ResourceCollection object that contains arrays of the names of Amazon Web Services CloudFormation
stacks. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the event.
|
void |
setResources(Collection<RecommendationRelatedEventResource> resources)
A
ResourceCollection object that contains arrays of the names of Amazon Web Services CloudFormation
stacks. |
String |
toString()
Returns a string representation of this object.
|
RecommendationRelatedEvent |
withName(String name)
The name of the event.
|
RecommendationRelatedEvent |
withResources(Collection<RecommendationRelatedEventResource> resources)
A
ResourceCollection object that contains arrays of the names of Amazon Web Services CloudFormation
stacks. |
RecommendationRelatedEvent |
withResources(RecommendationRelatedEventResource... resources)
A
ResourceCollection object that contains arrays of the names of Amazon Web Services CloudFormation
stacks. |
public void setName(String name)
The name of the event. This corresponds to the Name field in an Event object.
name - The name of the event. This corresponds to the Name field in an Event object.public String getName()
The name of the event. This corresponds to the Name field in an Event object.
Name field in an Event object.public RecommendationRelatedEvent withName(String name)
The name of the event. This corresponds to the Name field in an Event object.
name - The name of the event. This corresponds to the Name field in an Event object.public List<RecommendationRelatedEventResource> getResources()
A ResourceCollection object that contains arrays of the names of Amazon Web Services CloudFormation
stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
ResourceCollection object that contains arrays of the names of Amazon Web Services
CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.public void setResources(Collection<RecommendationRelatedEventResource> resources)
A ResourceCollection object that contains arrays of the names of Amazon Web Services CloudFormation
stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
resources - A ResourceCollection object that contains arrays of the names of Amazon Web Services
CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.public RecommendationRelatedEvent withResources(RecommendationRelatedEventResource... resources)
A ResourceCollection object that contains arrays of the names of Amazon Web Services CloudFormation
stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
override the existing values.
resources - A ResourceCollection object that contains arrays of the names of Amazon Web Services
CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.public RecommendationRelatedEvent withResources(Collection<RecommendationRelatedEventResource> resources)
A ResourceCollection object that contains arrays of the names of Amazon Web Services CloudFormation
stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
resources - A ResourceCollection object that contains arrays of the names of Amazon Web Services
CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.public String toString()
toString in class ObjectObject.toString()public RecommendationRelatedEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.