public class DescribeEventsResult extends Object implements Serializable
Result message wrapping a list of event descriptions.
| Constructor and Description |
|---|
DescribeEventsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<EventDescription> |
getEvents()
A list of EventDescription.
|
String |
getNextToken()
If returned, this indicates that there are more results to obtain.
|
int |
hashCode() |
void |
setEvents(Collection<EventDescription> events)
A list of EventDescription.
|
void |
setNextToken(String nextToken)
If returned, this indicates that there are more results to obtain.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEventsResult |
withEvents(Collection<EventDescription> events)
A list of EventDescription.
|
DescribeEventsResult |
withEvents(EventDescription... events)
A list of EventDescription.
|
DescribeEventsResult |
withNextToken(String nextToken)
If returned, this indicates that there are more results to obtain.
|
public List<EventDescription> getEvents()
public void setEvents(Collection<EventDescription> events)
events - A list of EventDescription.public DescribeEventsResult withEvents(EventDescription... events)
Returns a reference to this object so that method calls can be chained together.
events - A list of EventDescription.public DescribeEventsResult withEvents(Collection<EventDescription> events)
Returns a reference to this object so that method calls can be chained together.
events - A list of EventDescription.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - If returned, this indicates that there are more results to obtain. Use
this token in the next DescribeEvents call to get the next
batch of events.public DescribeEventsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - If returned, this indicates that there are more results to obtain. Use
this token in the next DescribeEvents call to get the next
batch of events.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.