Class TargetHealthDescription

java.lang.Object
software.amazon.awssdk.services.elasticloadbalancingv2.model.TargetHealthDescription
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<TargetHealthDescription.Builder,TargetHealthDescription>

@Generated("software.amazon.awssdk:codegen") public final class TargetHealthDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetHealthDescription.Builder,TargetHealthDescription>

Information about the health of a target.

See Also:
  • Method Details

    • target

      public final TargetDescription target()

      The description of the target.

      Returns:
      The description of the target.
    • healthCheckPort

      public final String healthCheckPort()

      The port to use to connect with the target.

      Returns:
      The port to use to connect with the target.
    • targetHealth

      public final TargetHealth targetHealth()

      The health information for the target.

      Returns:
      The health information for the target.
    • anomalyDetection

      public final AnomalyDetection anomalyDetection()

      The anomaly detection result for the target.

      If no anomalies were detected, the result is normal.

      If anomalies were detected, the result is anomalous.

      Returns:
      The anomaly detection result for the target.

      If no anomalies were detected, the result is normal.

      If anomalies were detected, the result is anomalous.

    • administrativeOverride

      public final AdministrativeOverride administrativeOverride()

      The administrative override information for the target.

      Returns:
      The administrative override information for the target.
    • toBuilder

      public TargetHealthDescription.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<TargetHealthDescription.Builder,TargetHealthDescription>
    • builder

      public static TargetHealthDescription.Builder builder()
    • serializableBuilderClass

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

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

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