Interface GetInstancesHealthStatusRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetInstancesHealthStatusRequest.Builder,GetInstancesHealthStatusRequest>,SdkBuilder<GetInstancesHealthStatusRequest.Builder,GetInstancesHealthStatusRequest>,SdkPojo,SdkRequest.Builder,ServiceDiscoveryRequest.Builder
- Enclosing class:
- GetInstancesHealthStatusRequest
public static interface GetInstancesHealthStatusRequest.Builder extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<GetInstancesHealthStatusRequest.Builder,GetInstancesHealthStatusRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetInstancesHealthStatusRequest.Builderinstances(String... instances)An array that contains the IDs of all the instances that you want to get the health status for.GetInstancesHealthStatusRequest.Builderinstances(Collection<String> instances)An array that contains the IDs of all the instances that you want to get the health status for.GetInstancesHealthStatusRequest.BuildermaxResults(Integer maxResults)The maximum number of instances that you want Cloud Map to return in the response to aGetInstancesHealthStatusrequest.GetInstancesHealthStatusRequest.BuildernextToken(String nextToken)For the firstGetInstancesHealthStatusrequest, omit this value.GetInstancesHealthStatusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetInstancesHealthStatusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetInstancesHealthStatusRequest.BuilderserviceId(String serviceId)The ID of the service that the instance is associated with.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryRequest.Builder
build
-
-
-
-
Method Detail
-
serviceId
GetInstancesHealthStatusRequest.Builder serviceId(String serviceId)
The ID of the service that the instance is associated with.
- Parameters:
serviceId- The ID of the service that the instance is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
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.
If you omit
Instances, Cloud Map returns the health status for all the instances that are associated with the specified service.To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
- Parameters:
instances- An array that contains the IDs of all the instances that you want to get the health status for.If you omit
Instances, Cloud Map returns the health status for all the instances that are associated with the specified service.To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
GetInstancesHealthStatusRequest.Builder instances(String... instances)
An array that contains the IDs of all the instances that you want to get the health status for.
If you omit
Instances, Cloud Map returns the health status for all the instances that are associated with the specified service.To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
- Parameters:
instances- An array that contains the IDs of all the instances that you want to get the health status for.If you omit
Instances, Cloud Map returns the health status for all the instances that are associated with the specified service.To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetInstancesHealthStatusRequest.Builder maxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
GetInstancesHealthStatusrequest. If you don't specify a value forMaxResults, Cloud Map returns up to 100 instances.- Parameters:
maxResults- The maximum number of instances that you want Cloud Map to return in the response to aGetInstancesHealthStatusrequest. If you don't specify a value forMaxResults, Cloud Map returns up to 100 instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetInstancesHealthStatusRequest.Builder nextToken(String nextToken)
For the first
GetInstancesHealthStatusrequest, omit this value.If more than
MaxResultsinstances match the specified criteria, you can submit anotherGetInstancesHealthStatusrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.- Parameters:
nextToken- For the firstGetInstancesHealthStatusrequest, omit this value.If more than
MaxResultsinstances match the specified criteria, you can submit anotherGetInstancesHealthStatusrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetInstancesHealthStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetInstancesHealthStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-