public static interface DiscoverInstancesRequest.Builder extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<DiscoverInstancesRequest.Builder,DiscoverInstancesRequest>
Modifier and Type | Method and Description |
---|---|
DiscoverInstancesRequest.Builder |
healthStatus(HealthStatusFilter healthStatus)
The health status of the instances that you want to discover.
|
DiscoverInstancesRequest.Builder |
healthStatus(String healthStatus)
The health status of the instances that you want to discover.
|
DiscoverInstancesRequest.Builder |
maxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances request. |
DiscoverInstancesRequest.Builder |
namespaceName(String namespaceName)
The name of the namespace that you specified when you registered the instance.
|
DiscoverInstancesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DiscoverInstancesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DiscoverInstancesRequest.Builder |
queryParameters(Map<String,String> queryParameters)
A string map that contains attributes with values that you can use to filter instances by any custom
attribute that you specified when you registered the instance.
|
DiscoverInstancesRequest.Builder |
serviceName(String serviceName)
The name of the service that you specified when you registered the instance.
|
build
overrideConfiguration
copy
applyMutation, build
DiscoverInstancesRequest.Builder namespaceName(String namespaceName)
The name of the namespace that you specified when you registered the instance.
namespaceName
- The name of the namespace that you specified when you registered the instance.DiscoverInstancesRequest.Builder serviceName(String serviceName)
The name of the service that you specified when you registered the instance.
serviceName
- The name of the service that you specified when you registered the instance.DiscoverInstancesRequest.Builder maxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances
request. If you don't specify a value for MaxResults
, Cloud Map
returns up to 100 instances.
maxResults
- The maximum number of instances that you want Cloud Map to return in the response to a
DiscoverInstances
request. If you don't specify a value for MaxResults
,
Cloud Map returns up to 100 instances.DiscoverInstancesRequest.Builder queryParameters(Map<String,String> queryParameters)
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all the specified key/value pairs will be returned.
queryParameters
- A string map that contains attributes with values that you can use to filter instances by any custom
attribute that you specified when you registered the instance. Only instances that match all the
specified key/value pairs will be returned.DiscoverInstancesRequest.Builder healthStatus(String healthStatus)
The health status of the instances that you want to discover.
healthStatus
- The health status of the instances that you want to discover.HealthStatusFilter
,
HealthStatusFilter
DiscoverInstancesRequest.Builder healthStatus(HealthStatusFilter healthStatus)
The health status of the instances that you want to discover.
healthStatus
- The health status of the instances that you want to discover.HealthStatusFilter
,
HealthStatusFilter
DiscoverInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DiscoverInstancesRequest.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.