@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEventsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventsResult |
clone() |
boolean |
equals(Object obj) |
List<Event> |
getEvents()
The events that match the specified filter criteria.
|
String |
getNextToken()
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
int |
hashCode() |
void |
setEvents(Collection<Event> events)
The events that match the specified filter criteria.
|
void |
setNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeEventsResult |
withEvents(Collection<Event> events)
The events that match the specified filter criteria.
|
DescribeEventsResult |
withEvents(Event... events)
The events that match the specified filter criteria.
|
DescribeEventsResult |
withNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Event> getEvents()
The events that match the specified filter criteria.
public void setEvents(Collection<Event> events)
The events that match the specified filter criteria.
events
- The events that match the specified filter criteria.public DescribeEventsResult withEvents(Event... events)
The events that match the specified filter criteria.
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
- The events that match the specified filter criteria.public DescribeEventsResult withEvents(Collection<Event> events)
The events that match the specified filter criteria.
events
- The events that match the specified filter criteria.public void setNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
- If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public String getNextToken()
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public DescribeEventsResult withNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
- If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public String toString()
toString
in class Object
Object.toString()
public DescribeEventsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.