Interface UpdateInstanceCustomHealthStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateInstanceCustomHealthStatusRequest.Builder,
,UpdateInstanceCustomHealthStatusRequest> SdkBuilder<UpdateInstanceCustomHealthStatusRequest.Builder,
,UpdateInstanceCustomHealthStatusRequest> SdkPojo
,SdkRequest.Builder
,ServiceDiscoveryRequest.Builder
- Enclosing class:
UpdateInstanceCustomHealthStatusRequest
public static interface UpdateInstanceCustomHealthStatusRequest.Builder
extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<UpdateInstanceCustomHealthStatusRequest.Builder,UpdateInstanceCustomHealthStatusRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId
(String instanceId) The ID of the instance that you want to change the health status for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the service that includes the configuration for the custom health check that you want to change the status for.The new status of the instance,HEALTHY
orUNHEALTHY
.status
(CustomHealthStatus status) The new status of the instance,HEALTHY
orUNHEALTHY
.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryRequest.Builder
build
-
Method Details
-
serviceId
The ID of the service that includes the configuration for the custom health check that you want to change the status for.
- Parameters:
serviceId
- The ID of the service that includes the configuration for the custom health check that you want to change the status for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The ID of the instance that you want to change the health status for.
- Parameters:
instanceId
- The ID of the instance that you want to change the health status for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The new status of the instance,
HEALTHY
orUNHEALTHY
.- Parameters:
status
- The new status of the instance,HEALTHY
orUNHEALTHY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The new status of the instance,
HEALTHY
orUNHEALTHY
.- Parameters:
status
- The new status of the instance,HEALTHY
orUNHEALTHY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateInstanceCustomHealthStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateInstanceCustomHealthStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-