public static interface GetInstancesHealthStatusRequest.Builder extends ServiceDiscoveryRequest.Builder, CopyableBuilder<GetInstancesHealthStatusRequest.Builder,GetInstancesHealthStatusRequest>
Modifier and Type | Method and Description |
---|---|
GetInstancesHealthStatusRequest.Builder |
instances(Collection<String> instances)
An array that contains the IDs of all the instances that you want to get the health status for.
|
GetInstancesHealthStatusRequest.Builder |
instances(String... instances)
An array that contains the IDs of all the instances that you want to get the health status for.
|
GetInstancesHealthStatusRequest.Builder |
maxResults(Integer maxResults)
The maximum number of instances that you want Amazon Route 53 to return in the response to a
GetInstancesHealthStatus request. |
GetInstancesHealthStatusRequest.Builder |
nextToken(String nextToken)
For the first
GetInstancesHealthStatus request, omit this value. |
GetInstancesHealthStatusRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetInstancesHealthStatusRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetInstancesHealthStatusRequest.Builder |
serviceId(String serviceId)
The ID of the service that the instance is associated with.
|
build
overrideConfiguration
copy
applyMutation, build
GetInstancesHealthStatusRequest.Builder serviceId(String serviceId)
The ID of the service that the instance is associated with.
serviceId
- The ID of the service that the instance is associated with.GetInstancesHealthStatusRequest.Builder instances(Collection<String> instances)
An array that contains the IDs of all the instances that you want to get the health status for. To get the IDs for the instances that you've created by using a specified service, submit a ListInstances request.
If you omit Instances
, Amazon Route 53 returns the health status for all the instances that are
associated with the specified service.
instances
- An array that contains the IDs of all the instances that you want to get the health status for. To get
the IDs for the instances that you've created by using a specified service, submit a
ListInstances request.
If you omit Instances
, Amazon Route 53 returns the health status for all the instances
that are associated with the specified service.
GetInstancesHealthStatusRequest.Builder instances(String... instances)
An array that contains the IDs of all the instances that you want to get the health status for. To get the IDs for the instances that you've created by using a specified service, submit a ListInstances request.
If you omit Instances
, Amazon Route 53 returns the health status for all the instances that are
associated with the specified service.
instances
- An array that contains the IDs of all the instances that you want to get the health status for. To get
the IDs for the instances that you've created by using a specified service, submit a
ListInstances request.
If you omit Instances
, Amazon Route 53 returns the health status for all the instances
that are associated with the specified service.
GetInstancesHealthStatusRequest.Builder maxResults(Integer maxResults)
The maximum number of instances that you want Amazon Route 53 to return in the response to a
GetInstancesHealthStatus
request. If you don't specify a value for MaxResults
,
Amazon Route 53 returns up to 100 instances.
maxResults
- The maximum number of instances that you want Amazon Route 53 to return in the response to a
GetInstancesHealthStatus
request. If you don't specify a value for
MaxResults
, Amazon Route 53 returns up to 100 instances.GetInstancesHealthStatusRequest.Builder nextToken(String nextToken)
For the first GetInstancesHealthStatus
request, omit this value.
If more than MaxResults
instances match the specified criteria, you can submit another
GetInstancesHealthStatus
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 GetInstancesHealthStatus
request, omit this value.
If more than MaxResults
instances match the specified criteria, you can submit another
GetInstancesHealthStatus
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
GetInstancesHealthStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetInstancesHealthStatusRequest.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.