public static interface ListServicesRequest.Builder extends ServiceDiscoveryRequest.Builder, CopyableBuilder<ListServicesRequest.Builder,ListServicesRequest>
Modifier and Type | Method and Description |
---|---|
ListServicesRequest.Builder |
filters(Collection<ServiceFilter> filters)
A complex type that contains specifications for the namespaces that you want to list services for.
|
ListServicesRequest.Builder |
filters(Consumer<ServiceFilter.Builder>... filters)
A complex type that contains specifications for the namespaces that you want to list services for.
|
ListServicesRequest.Builder |
filters(ServiceFilter... filters)
A complex type that contains specifications for the namespaces that you want to list services for.
|
ListServicesRequest.Builder |
maxResults(Integer maxResults)
The maximum number of services that you want Amazon Route 53 to return in the response to a
ListServices request. |
ListServicesRequest.Builder |
nextToken(String nextToken)
For the first
ListServices request, omit this value. |
ListServicesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListServicesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
ListServicesRequest.Builder nextToken(String nextToken)
For the first ListServices
request, omit this value.
If more than MaxResults
services match the specified criteria, you can submit another
ListServices
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
nextToken
- For the first ListServices
request, omit this value.
If more than MaxResults
services match the specified criteria, you can submit another
ListServices
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
ListServicesRequest.Builder maxResults(Integer maxResults)
The maximum number of services that you want Amazon Route 53 to return in the response to a
ListServices
request. If you don't specify a value for MaxResults
, Amazon Route 53
returns up to 100 services.
maxResults
- The maximum number of services that you want Amazon Route 53 to return in the response to a
ListServices
request. If you don't specify a value for MaxResults
, Amazon
Route 53 returns up to 100 services.ListServicesRequest.Builder filters(Collection<ServiceFilter> filters)
A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices
.
filters
- A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices
.
ListServicesRequest.Builder filters(ServiceFilter... filters)
A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices
.
filters
- A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices
.
ListServicesRequest.Builder filters(Consumer<ServiceFilter.Builder>... filters)
A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices
.
List.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 #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
ListServicesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListServicesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.