public static interface ListServicesRequest.Builder extends ServiceDiscoveryRequest.Builder, SdkPojo, 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 AWS Cloud Map 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 the response contains NextToken
, submit another ListServices
request to get the
next group of results. Specify the value of NextToken
from the previous response in the next
request.
AWS Cloud Map gets MaxResults
services and then filters them based on the specified criteria.
It's possible that no services in the first MaxResults
services matched the specified criteria
but that subsequent groups of MaxResults
services do contain services that match the criteria.
nextToken
- For the first ListServices
request, omit this value.
If the response contains NextToken
, submit another ListServices
request to
get the next group of results. Specify the value of NextToken
from the previous response
in the next request.
AWS Cloud Map gets MaxResults
services and then filters them based on the specified
criteria. It's possible that no services in the first MaxResults
services matched the
specified criteria but that subsequent groups of MaxResults
services do contain services
that match the criteria.
ListServicesRequest.Builder maxResults(Integer maxResults)
The maximum number of services that you want AWS Cloud Map to return in the response to a
ListServices
request. If you don't specify a value for MaxResults
, AWS Cloud Map
returns up to 100 services.
maxResults
- The maximum number of services that you want AWS Cloud Map to return in the response to a
ListServices
request. If you don't specify a value for MaxResults
, AWS Cloud
Map 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.