public class EventDetails extends Object implements Serializable, Cloneable
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) |
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 |
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; useful for testing and debugging.
|
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.