@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Event extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Event() |
public void setDataSource(String dataSource)
dataSource
- EventDataSource
public String getDataSource()
EventDataSource
public Event withDataSource(String dataSource)
dataSource
- EventDataSource
public Event withDataSource(EventDataSource dataSource)
dataSource
- EventDataSource
public void setEventClass(String eventClass)
eventClass
- EventClass
public String getEventClass()
EventClass
public Event withEventClass(String eventClass)
eventClass
- EventClass
public Event withEventClass(EventClass eventClass)
eventClass
- EventClass
public void setEventSource(String eventSource)
eventSource
- public String getEventSource()
public Event withEventSource(String eventSource)
eventSource
- public void setId(String id)
id
- public String getId()
public Event withId(String id)
id
- public void setName(String name)
name
- public String getName()
public Event withName(String name)
name
- public void setResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public ResourceCollection getResourceCollection()
public Event withResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public List<EventResource> getResources()
public void setResources(Collection<EventResource> resources)
resources
- public Event withResources(EventResource... 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 Event withResources(Collection<EventResource> resources)
resources
- public void setTime(Date time)
time
- public Date getTime()
public Event withTime(Date time)
time
- public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.