@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationRelatedEvent extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
RecommendationRelatedEvent() |
Modifier and Type | Method and Description |
---|---|
RecommendationRelatedEvent |
clone() |
boolean |
equals(Object obj) |
String |
getName() |
List<RecommendationRelatedEventResource> |
getResources() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name) |
void |
setResources(Collection<RecommendationRelatedEventResource> resources) |
String |
toString()
Returns a string representation of this object.
|
RecommendationRelatedEvent |
withName(String name) |
RecommendationRelatedEvent |
withResources(Collection<RecommendationRelatedEventResource> resources) |
RecommendationRelatedEvent |
withResources(RecommendationRelatedEventResource... resources)
NOTE: This method appends the values to the existing list (if any).
|
public void setName(String name)
name
- public String getName()
public RecommendationRelatedEvent withName(String name)
name
- public List<RecommendationRelatedEventResource> getResources()
public void setResources(Collection<RecommendationRelatedEventResource> resources)
resources
- public RecommendationRelatedEvent withResources(RecommendationRelatedEventResource... resources)
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
- public RecommendationRelatedEvent withResources(Collection<RecommendationRelatedEventResource> resources)
resources
- public String toString()
toString
in class Object
Object.toString()
public RecommendationRelatedEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.