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,HEALTHYorUNHEALTHY.status(CustomHealthStatus status) The new status of the instance,HEALTHYorUNHEALTHY.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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,
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:
-
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:
-
overrideConfiguration
UpdateInstanceCustomHealthStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-