public class DescribeEventsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeEvents action.
Constructor and Description |
---|
DescribeEventsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventsResult |
clone() |
boolean |
equals(Object obj) |
List<Event> |
getEvents()
A list of events.
|
String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setEvents(Collection<Event> events)
A list of events.
|
void |
setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEventsResult |
withEvents(Collection<Event> events)
A list of events.
|
DescribeEventsResult |
withEvents(Event... events)
A list of events.
|
DescribeEventsResult |
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
public void setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public String getMarker()
Provides an identifier to allow retrieval of paginated results.
public DescribeEventsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public List<Event> getEvents()
A list of events. Each element in the list contains detailed information about one event.
public void setEvents(Collection<Event> events)
A list of events. Each element in the list contains detailed information about one event.
events
- A list of events. Each element in the list contains detailed
information about one event.public DescribeEventsResult withEvents(Event... events)
A list of events. Each element in the list contains detailed information about one event.
NOTE: This method appends the values to the existing list (if
any). Use setEvents(java.util.Collection)
or
withEvents(java.util.Collection)
if you want to override the
existing values.
events
- A list of events. Each element in the list contains detailed
information about one event.public DescribeEventsResult withEvents(Collection<Event> events)
A list of events. Each element in the list contains detailed information about one event.
events
- A list of events. Each element in the list contains detailed
information about one event.public String toString()
toString
in class Object
Object.toString()
public DescribeEventsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.