Class AwsElbLoadBalancerHealthCheck

    • Method Detail

      • healthyThreshold

        public final Integer healthyThreshold()

        The number of consecutive health check successes required before the instance is moved to the Healthy state.

        Returns:
        The number of consecutive health check successes required before the instance is moved to the Healthy state.
      • interval

        public final Integer interval()

        The approximate interval, in seconds, between health checks of an individual instance.

        Returns:
        The approximate interval, in seconds, between health checks of an individual instance.
      • target

        public final String target()

        The instance that is being checked. The target specifies the protocol and port. The available protocols are TCP, SSL, HTTP, and HTTPS. The range of valid ports is 1 through 65535.

        For the HTTP and HTTPS protocols, the target also specifies the ping path.

        For the TCP protocol, the target is specified as TCP: <port> .

        For the SSL protocol, the target is specified as SSL.<port> .

        For the HTTP and HTTPS protocols, the target is specified as <protocol>:<port>/<path to ping> .

        Returns:
        The instance that is being checked. The target specifies the protocol and port. The available protocols are TCP, SSL, HTTP, and HTTPS. The range of valid ports is 1 through 65535.

        For the HTTP and HTTPS protocols, the target also specifies the ping path.

        For the TCP protocol, the target is specified as TCP: <port> .

        For the SSL protocol, the target is specified as SSL.<port> .

        For the HTTP and HTTPS protocols, the target is specified as <protocol>:<port>/<path to ping> .

      • timeout

        public final Integer timeout()

        The amount of time, in seconds, during which no response means a failed health check.

        Returns:
        The amount of time, in seconds, during which no response means a failed health check.
      • unhealthyThreshold

        public final Integer unhealthyThreshold()

        The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.

        Returns:
        The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.
      • 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)