public class DescribeEventsResult extends Object implements Serializable
Contains the output from the DescribeEvents action.
| Constructor and Description |
|---|
DescribeEventsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Event> |
getEvents()
A list of Event instances.
|
String |
getMarker()
A marker at which to continue listing events in a new request.
|
int |
hashCode() |
void |
setEvents(Collection<Event> events)
A list of Event instances.
|
void |
setMarker(String marker)
A marker at which to continue listing events in a new request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEventsResult |
withEvents(Collection<Event> events)
A list of Event instances.
|
DescribeEventsResult |
withEvents(Event... events)
A list of Event instances.
|
DescribeEventsResult |
withMarker(String marker)
A marker at which to continue listing events in a new request.
|
public String getMarker()
public void setMarker(String marker)
marker - A marker at which to continue listing events in a new request. The
response returns a marker if there are more events to list than
returned in the response.public DescribeEventsResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker - A marker at which to continue listing events in a new request. The
response returns a marker if there are more events to list than
returned in the response.public List<Event> getEvents()
public void setEvents(Collection<Event> events)
events - A list of Event instances.public DescribeEventsResult withEvents(Event... events)
Returns a reference to this object so that method calls can be chained together.
events - A list of Event instances.public DescribeEventsResult withEvents(Collection<Event> events)
Returns a reference to this object so that method calls can be chained together.
events - A list of Event instances.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.