Class HealthCheckObservation

    • Method Detail

      • region

        public final HealthCheckRegion region()

        The region of the Amazon Route 53 health checker that provided the status in StatusReport.

        If the service returns an enum value that is not available in the current SDK version, region will return HealthCheckRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from regionAsString().

        Returns:
        The region of the Amazon Route 53 health checker that provided the status in StatusReport.
        See Also:
        HealthCheckRegion
      • regionAsString

        public final String regionAsString()

        The region of the Amazon Route 53 health checker that provided the status in StatusReport.

        If the service returns an enum value that is not available in the current SDK version, region will return HealthCheckRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from regionAsString().

        Returns:
        The region of the Amazon Route 53 health checker that provided the status in StatusReport.
        See Also:
        HealthCheckRegion
      • ipAddress

        public final String ipAddress()

        The IP address of the Amazon Route 53 health checker that provided the failure reason in StatusReport.

        Returns:
        The IP address of the Amazon Route 53 health checker that provided the failure reason in StatusReport.
      • statusReport

        public final StatusReport statusReport()

        A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.

        Returns:
        A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)