@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 AWS CloudFormation stacks. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 AWS 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 AWS CloudFormation stacks. |
RecommendationRelatedEvent |
withResources(RecommendationRelatedEventResource... resources)
A
ResourceCollection object that contains arrays of the names of AWS 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 AWS CloudFormation stacks. You can
specify up to 500 AWS CloudFormation stacks.
ResourceCollection object that contains arrays of the names of AWS CloudFormation stacks.
You can specify up to 500 AWS CloudFormation stacks.public void setResources(Collection<RecommendationRelatedEventResource> resources)
A ResourceCollection object that contains arrays of the names of AWS CloudFormation stacks. You can
specify up to 500 AWS CloudFormation stacks.
resources - A ResourceCollection object that contains arrays of the names of AWS CloudFormation stacks.
You can specify up to 500 AWS CloudFormation stacks.public RecommendationRelatedEvent withResources(RecommendationRelatedEventResource... resources)
A ResourceCollection object that contains arrays of the names of AWS CloudFormation stacks. You can
specify up to 500 AWS 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 AWS CloudFormation stacks.
You can specify up to 500 AWS CloudFormation stacks.public RecommendationRelatedEvent withResources(Collection<RecommendationRelatedEventResource> resources)
A ResourceCollection object that contains arrays of the names of AWS CloudFormation stacks. You can
specify up to 500 AWS CloudFormation stacks.
resources - A ResourceCollection object that contains arrays of the names of AWS CloudFormation stacks.
You can specify up to 500 AWS CloudFormation stacks.public String toString()
toString in class ObjectObject.toString()public RecommendationRelatedEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.