public class DescribeEventsResult extends Object implements Serializable
Contains the result of a successful invocation of 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()
An optional pagination token provided by a previous Events request.
|
int |
hashCode() |
void |
setEvents(Collection<Event> events)
A list of Event instances.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous Events 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)
An optional pagination token provided by a previous Events request.
|
public String getMarker()
MaxRecords
.MaxRecords
.public void setMarker(String marker)
MaxRecords
.marker
- An optional pagination token provided by a previous Events request. If
this parameter is specified, the response includes only records beyond
the marker, up to the value specified by MaxRecords
.public DescribeEventsResult withMarker(String marker)
MaxRecords
.
Returns a reference to this object so that method calls can be chained together.
marker
- An optional pagination token provided by a previous Events request. If
this parameter is specified, the response includes only records beyond
the marker, up to the value specified by MaxRecords
.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 Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.