@Generated(value="software.amazon.awssdk:codegen") public final class UpdateInstanceCustomHealthStatusRequest extends ServiceDiscoveryRequest implements ToCopyableBuilder<UpdateInstanceCustomHealthStatusRequest.Builder,UpdateInstanceCustomHealthStatusRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateInstanceCustomHealthStatusRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateInstanceCustomHealthStatusRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The ID of the instance that you want to change the health status for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateInstanceCustomHealthStatusRequest.Builder> |
serializableBuilderClass() |
String |
serviceId()
The ID of the service that includes the configuration for the custom health check that you want to change the
status for.
|
CustomHealthStatus |
status()
The new status of the instance,
HEALTHY or UNHEALTHY. |
String |
statusAsString()
The new status of the instance,
HEALTHY or UNHEALTHY. |
UpdateInstanceCustomHealthStatusRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String serviceId()
The ID of the service that includes the configuration for the custom health check that you want to change the status for.
public final String instanceId()
The ID of the instance that you want to change the health status for.
public final CustomHealthStatus status()
The new status of the instance, HEALTHY or UNHEALTHY.
If the service returns an enum value that is not available in the current SDK version, status will
return CustomHealthStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
HEALTHY or UNHEALTHY.CustomHealthStatuspublic final String statusAsString()
The new status of the instance, HEALTHY or UNHEALTHY.
If the service returns an enum value that is not available in the current SDK version, status will
return CustomHealthStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
HEALTHY or UNHEALTHY.CustomHealthStatuspublic UpdateInstanceCustomHealthStatusRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateInstanceCustomHealthStatusRequest.Builder,UpdateInstanceCustomHealthStatusRequest>toBuilder in class ServiceDiscoveryRequestpublic static UpdateInstanceCustomHealthStatusRequest.Builder builder()
public static Class<? extends UpdateInstanceCustomHealthStatusRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.