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 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)
 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 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 ObjectObject.toString()public DescribeEventsResult clone()
Copyright © 2015. All rights reserved.