@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Result message wrapping a list of event descriptions.
Constructor and Description |
---|
DescribeEventsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventsResult |
clone() |
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EventDescription> getEvents()
A list of EventDescription.
public void setEvents(Collection<EventDescription> events)
A list of EventDescription.
events
- A list of EventDescription.public DescribeEventsResult withEvents(EventDescription... events)
A list of EventDescription.
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.
events
- A list of EventDescription.public DescribeEventsResult withEvents(Collection<EventDescription> events)
A list of EventDescription.
events
- A list of EventDescription.public void setNextToken(String 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.
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 getNextToken()
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)
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.
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 Object
Object.toString()
public DescribeEventsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.