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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateInstanceCustomHealthStatusRequest.BuilderinstanceId(String instanceId)The ID of the instance that you want to change the health status for.UpdateInstanceCustomHealthStatusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateInstanceCustomHealthStatusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateInstanceCustomHealthStatusRequest.BuilderserviceId(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.Builderstatus(String status)The new status of the instance,HEALTHYorUNHEALTHY.UpdateInstanceCustomHealthStatusRequest.Builderstatus(CustomHealthStatus status)The new status of the instance,HEALTHYorUNHEALTHY.-
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
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.
- 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
UpdateInstanceCustomHealthStatusRequest.Builder instanceId(String 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
UpdateInstanceCustomHealthStatusRequest.Builder status(String status)
The new status of the instance,
HEALTHYorUNHEALTHY.- Parameters:
status- The new status of the instance,HEALTHYorUNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomHealthStatus,CustomHealthStatus
-
status
UpdateInstanceCustomHealthStatusRequest.Builder status(CustomHealthStatus status)
The new status of the instance,
HEALTHYorUNHEALTHY.- Parameters:
status- The new status of the instance,HEALTHYorUNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomHealthStatus,CustomHealthStatus
-
overrideConfiguration
UpdateInstanceCustomHealthStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateInstanceCustomHealthStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-