public static interface ListNamespacesRequest.Builder extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<ListNamespacesRequest.Builder,ListNamespacesRequest>
Modifier and Type | Method and Description |
---|---|
ListNamespacesRequest.Builder |
filters(Collection<NamespaceFilter> filters)
A complex type that contains specifications for the namespaces that you want to list.
|
ListNamespacesRequest.Builder |
filters(Consumer<NamespaceFilter.Builder>... filters)
A complex type that contains specifications for the namespaces that you want to list.
|
ListNamespacesRequest.Builder |
filters(NamespaceFilter... filters)
A complex type that contains specifications for the namespaces that you want to list.
|
ListNamespacesRequest.Builder |
maxResults(Integer maxResults)
The maximum number of namespaces that you want AWS Cloud Map to return in the response to a
ListNamespaces request. |
ListNamespacesRequest.Builder |
nextToken(String nextToken)
For the first
ListNamespaces request, omit this value. |
ListNamespacesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListNamespacesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
ListNamespacesRequest.Builder nextToken(String nextToken)
For the first ListNamespaces
request, omit this value.
If the response contains NextToken
, submit another ListNamespaces
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
namespaces and then filters them based on the specified criteria.
It's possible that no namespaces in the first MaxResults
namespaces matched the specified
criteria but that subsequent groups of MaxResults
namespaces do contain namespaces that match
the criteria.
nextToken
- For the first ListNamespaces
request, omit this value.
If the response contains NextToken
, submit another ListNamespaces
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
namespaces and then filters them based on the specified
criteria. It's possible that no namespaces in the first MaxResults
namespaces matched the
specified criteria but that subsequent groups of MaxResults
namespaces do contain
namespaces that match the criteria.
ListNamespacesRequest.Builder maxResults(Integer maxResults)
The maximum number of namespaces that you want AWS Cloud Map to return in the response to a
ListNamespaces
request. If you don't specify a value for MaxResults
, AWS Cloud Map
returns up to 100 namespaces.
maxResults
- The maximum number of namespaces that you want AWS Cloud Map to return in the response to a
ListNamespaces
request. If you don't specify a value for MaxResults
, AWS
Cloud Map returns up to 100 namespaces.ListNamespacesRequest.Builder filters(Collection<NamespaceFilter> filters)
A complex type that contains specifications for the namespaces that you want to list.
If you specify more than one filter, a namespace must match all filters to be returned by
ListNamespaces
.
filters
- A complex type that contains specifications for the namespaces that you want to list.
If you specify more than one filter, a namespace must match all filters to be returned by
ListNamespaces
.
ListNamespacesRequest.Builder filters(NamespaceFilter... filters)
A complex type that contains specifications for the namespaces that you want to list.
If you specify more than one filter, a namespace must match all filters to be returned by
ListNamespaces
.
filters
- A complex type that contains specifications for the namespaces that you want to list.
If you specify more than one filter, a namespace must match all filters to be returned by
ListNamespaces
.
ListNamespacesRequest.Builder filters(Consumer<NamespaceFilter.Builder>... filters)
A complex type that contains specifications for the namespaces that you want to list.
If you specify more than one filter, a namespace must match all filters to be returned by
ListNamespaces
.
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)
ListNamespacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListNamespacesRequest.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.