Class GetHealthCheckStatusRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<GetHealthCheckStatusRequest.Builder,GetHealthCheckStatusRequest>

@Generated("software.amazon.awssdk:codegen") public final class GetHealthCheckStatusRequest extends Route53Request implements ToCopyableBuilder<GetHealthCheckStatusRequest.Builder,GetHealthCheckStatusRequest>

A request to get the status for a health check.

  • Method Details

    • healthCheckId

      public final String healthCheckId()

      The ID for the health check that you want the current status for. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

      If you want to check the status of a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use GetHealthCheckStatus to get the status of a calculated health check.

      Returns:
      The ID for the health check that you want the current status for. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

      If you want to check the status of a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use GetHealthCheckStatus to get the status of a calculated health check.

    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<GetHealthCheckStatusRequest.Builder,GetHealthCheckStatusRequest>
      Specified by:
      toBuilder in class Route53Request
    • builder

      public static GetHealthCheckStatusRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends GetHealthCheckStatusRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo