public class DescribeEventsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEventsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventsResult |
clone() |
boolean |
equals(Object obj) |
List<Event> |
getEvents()
A list of
Event instances. |
String |
getMarker()
A value that indicates the starting point for the next set of response
records in a subsequent request.
|
int |
hashCode() |
void |
setEvents(Collection<Event> events)
A list of
Event instances. |
void |
setMarker(String marker)
A value that indicates the starting point for the next set of response
records in a subsequent 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 value that indicates the starting point for the next set of response
records in a subsequent request.
|
public String getMarker()
Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.public void setMarker(String marker)
Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.marker
- A value that indicates the starting point for the next set of response
records in a subsequent request. If a value is returned in a response,
you can retrieve the next set of records by providing this returned
marker value in the Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.public DescribeEventsResult withMarker(String marker)
Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.
Returns a reference to this object so that method calls can be chained together.
marker
- A value that indicates the starting point for the next set of response
records in a subsequent request. If a value is returned in a response,
you can retrieve the next set of records by providing this returned
marker value in the Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.public List<Event> getEvents()
Event
instances.Event
instances.public void setEvents(Collection<Event> events)
Event
instances.events
- A list of Event
instances.public DescribeEventsResult withEvents(Event... events)
Event
instances.
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.
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)
Event
instances.
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()
public DescribeEventsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.