public static interface DescribeEventsRequest.Builder extends HealthRequest.Builder, CopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>
Modifier and Type | Method and Description |
---|---|
default DescribeEventsRequest.Builder |
filter(Consumer<EventFilter.Builder> filter)
Values to narrow the results returned.
|
DescribeEventsRequest.Builder |
filter(EventFilter filter)
Values to narrow the results returned.
|
DescribeEventsRequest.Builder |
locale(String locale)
The locale (language) to return information in.
|
DescribeEventsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of items to return in one batch, between 10 and 100, inclusive.
|
DescribeEventsRequest.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. |
DescribeEventsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
DescribeEventsRequest.Builder filter(EventFilter filter)
Values to narrow the results returned.
filter
- Values to narrow the results returned.default DescribeEventsRequest.Builder filter(Consumer<EventFilter.Builder> filter)
Values to narrow the results returned.
This is a convenience that creates an instance of theEventFilter.Builder
avoiding the need to create
one manually via EventFilter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to filter(EventFilter)
.filter
- a consumer that will call methods on EventFilter.Builder
filter(EventFilter)
DescribeEventsRequest.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.DescribeEventsRequest.Builder maxResults(Integer maxResults)
The maximum number of items to return in one batch, between 10 and 100, inclusive.
maxResults
- The maximum number of items to return in one batch, between 10 and 100, inclusive.DescribeEventsRequest.Builder locale(String locale)
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
locale
- The locale (language) to return information in. English (en) is the default and the only supported
value at this time.DescribeEventsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.