Class TargetHealthDescription

    • Method Detail

      • 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.
      • 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)