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 AWS Cloud Map to return in the response to a
DiscoverInstances request. |
DiscoverInstancesRequest.Builder |
namespaceName(String namespaceName)
The
HttpName name of the namespace, found in the HttpProperties member of the
Properties member of the namespace. |
DiscoverInstancesRequest.Builder |
optionalParameters(Map<String,String> optionalParameters)
Opportunistic filters to scope the results based on custom attributes.
|
DiscoverInstancesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DiscoverInstancesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DiscoverInstancesRequest.Builder |
queryParameters(Map<String,String> queryParameters)
Filters to scope the results based on custom attributes for the instance.
|
DiscoverInstancesRequest.Builder |
serviceName(String serviceName)
The name of the service that you specified when you registered the instance.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDiscoverInstancesRequest.Builder namespaceName(String namespaceName)
The HttpName name of the namespace, found in the HttpProperties member of the
Properties member of the namespace.
namespaceName - The HttpName name of the namespace, found in the HttpProperties member of
the Properties member of the namespace.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 AWS Cloud Map to return in the response to a
DiscoverInstances request. If you don't specify a value for MaxResults, AWS Cloud
Map returns up to 100 instances.
maxResults - The maximum number of instances that you want AWS Cloud Map to return in the response to a
DiscoverInstances request. If you don't specify a value for MaxResults, AWS
Cloud Map returns up to 100 instances.DiscoverInstancesRequest.Builder queryParameters(Map<String,String> queryParameters)
Filters to scope the results based on custom attributes for the instance. For example,
{version=v1, az=1a}. Only instances that match all the specified key-value pairs are returned.
queryParameters - Filters to scope the results based on custom attributes for the instance. For example,
{version=v1, az=1a}. Only instances that match all the specified key-value pairs are
returned.DiscoverInstancesRequest.Builder optionalParameters(Map<String,String> optionalParameters)
Opportunistic filters to scope the results based on custom attributes. If there are instances that match both
the filters specified in both the QueryParameters parameter and this parameter, they are
returned. Otherwise, these filters are ignored and only instances that match the filters specified in the
QueryParameters parameter are returned.
optionalParameters - Opportunistic filters to scope the results based on custom attributes. If there are instances that
match both the filters specified in both the QueryParameters parameter and this
parameter, they are returned. Otherwise, these filters are ignored and only instances that match the
filters specified in the QueryParameters parameter are 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,
HealthStatusFilterDiscoverInstancesRequest.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,
HealthStatusFilterDiscoverInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDiscoverInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.