@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventDetails extends Object implements Serializable, Cloneable, StructuredPojo
Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by the DescribeEventDetails operation.
Constructor and Description |
---|
EventDetails() |
Modifier and Type | Method and Description |
---|---|
EventDetails |
addEventMetadataEntry(String key,
String value)
Add a single EventMetadata entry
|
EventDetails |
clearEventMetadataEntries()
Removes all the entries added into EventMetadata.
|
EventDetails |
clone() |
boolean |
equals(Object obj) |
Event |
getEvent()
Summary information about the event.
|
EventDescription |
getEventDescription()
The most recent description of the event.
|
Map<String,String> |
getEventMetadata()
Additional metadata about the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEvent(Event event)
Summary information about the event.
|
void |
setEventDescription(EventDescription eventDescription)
The most recent description of the event.
|
void |
setEventMetadata(Map<String,String> eventMetadata)
Additional metadata about the event.
|
String |
toString()
Returns a string representation of this object.
|
EventDetails |
withEvent(Event event)
Summary information about the event.
|
EventDetails |
withEventDescription(EventDescription eventDescription)
The most recent description of the event.
|
EventDetails |
withEventMetadata(Map<String,String> eventMetadata)
Additional metadata about the event.
|
public void setEvent(Event event)
Summary information about the event.
event
- Summary information about the event.public Event getEvent()
Summary information about the event.
public EventDetails withEvent(Event event)
Summary information about the event.
event
- Summary information about the event.public void setEventDescription(EventDescription eventDescription)
The most recent description of the event.
eventDescription
- The most recent description of the event.public EventDescription getEventDescription()
The most recent description of the event.
public EventDetails withEventDescription(EventDescription eventDescription)
The most recent description of the event.
eventDescription
- The most recent description of the event.public Map<String,String> getEventMetadata()
Additional metadata about the event.
public void setEventMetadata(Map<String,String> eventMetadata)
Additional metadata about the event.
eventMetadata
- Additional metadata about the event.public EventDetails withEventMetadata(Map<String,String> eventMetadata)
Additional metadata about the event.
eventMetadata
- Additional metadata about the event.public EventDetails addEventMetadataEntry(String key, String value)
public EventDetails clearEventMetadataEntries()
public String toString()
toString
in class Object
Object.toString()
public EventDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.