public static interface UpdateInstanceCustomHealthStatusRequest.Builder extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<UpdateInstanceCustomHealthStatusRequest.Builder,UpdateInstanceCustomHealthStatusRequest>
Modifier and Type | Method and Description |
---|---|
UpdateInstanceCustomHealthStatusRequest.Builder |
instanceId(String instanceId)
The ID of the instance that you want to change the health status for.
|
UpdateInstanceCustomHealthStatusRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateInstanceCustomHealthStatusRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateInstanceCustomHealthStatusRequest.Builder |
serviceId(String serviceId)
The ID of the service that includes the configuration for the custom health check that you want to change the
status for.
|
UpdateInstanceCustomHealthStatusRequest.Builder |
status(CustomHealthStatus status)
The new status of the instance,
HEALTHY or UNHEALTHY . |
UpdateInstanceCustomHealthStatusRequest.Builder |
status(String status)
The new status of the instance,
HEALTHY or UNHEALTHY . |
build
overrideConfiguration
copy
applyMutation, build
UpdateInstanceCustomHealthStatusRequest.Builder serviceId(String serviceId)
The ID of the service that includes the configuration for the custom health check that you want to change the status for.
serviceId
- The ID of the service that includes the configuration for the custom health check that you want to
change the status for.UpdateInstanceCustomHealthStatusRequest.Builder instanceId(String instanceId)
The ID of the instance that you want to change the health status for.
instanceId
- The ID of the instance that you want to change the health status for.UpdateInstanceCustomHealthStatusRequest.Builder status(String status)
The new status of the instance, HEALTHY
or UNHEALTHY
.
status
- The new status of the instance, HEALTHY
or UNHEALTHY
.CustomHealthStatus
,
CustomHealthStatus
UpdateInstanceCustomHealthStatusRequest.Builder status(CustomHealthStatus status)
The new status of the instance, HEALTHY
or UNHEALTHY
.
status
- The new status of the instance, HEALTHY
or UNHEALTHY
.CustomHealthStatus
,
CustomHealthStatus
UpdateInstanceCustomHealthStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateInstanceCustomHealthStatusRequest.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.