public static interface DescribeEventsResponse.Builder extends HealthResponse.Builder, CopyableBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeEventsResponse.Builder |
events(Collection<Event> events)
The events that match the specified filter criteria.
|
DescribeEventsResponse.Builder |
events(Consumer<Event.Builder>... events)
The events that match the specified filter criteria.
|
DescribeEventsResponse.Builder |
events(Event... events)
The events that match the specified filter criteria.
|
DescribeEventsResponse.Builder |
nextToken(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. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeEventsResponse.Builder events(Collection<Event> events)
The events that match the specified filter criteria.
events
- The events that match the specified filter criteria.DescribeEventsResponse.Builder events(Event... events)
The events that match the specified filter criteria.
events
- The events that match the specified filter criteria.DescribeEventsResponse.Builder events(Consumer<Event.Builder>... events)
The events that match the specified filter criteria.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #events(List)
.events
- a consumer that will call methods on List.Builder
#events(List)
DescribeEventsResponse.Builder nextToken(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.