public class DescribeEventsResult extends Object implements Serializable
Represents the output of a DescribeEvents operation.
Constructor and Description |
---|
DescribeEventsResult() |
Modifier and Type | Method and Description |
---|---|
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 String getMarker()
public void setMarker(String marker)
marker
- Provides an identifier to allow retrieval of paginated results.public DescribeEventsResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- Provides an identifier to allow retrieval of paginated results.public List<Event> getEvents()
public void setEvents(Collection<Event> events)
events
- A list of events. Each element in the list contains detailed
information about one event.public DescribeEventsResult withEvents(Event... events)
Returns a reference to this object so that method calls can be chained together.
events
- A list of events. Each element in the list contains detailed
information about one event.public DescribeEventsResult withEvents(Collection<Event> events)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.