Interface AwsElbLoadBalancerHealthCheck.Builder

    • Method Detail

      • healthyThreshold

        AwsElbLoadBalancerHealthCheck.Builder healthyThreshold​(Integer healthyThreshold)

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

        Parameters:
        healthyThreshold - The number of consecutive health check successes required before the instance is moved to the Healthy state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • interval

        AwsElbLoadBalancerHealthCheck.Builder interval​(Integer interval)

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

        Parameters:
        interval - The approximate interval, in seconds, between health checks of an individual instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • target

        AwsElbLoadBalancerHealthCheck.Builder target​(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> .

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • timeout

        AwsElbLoadBalancerHealthCheck.Builder timeout​(Integer timeout)

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

        Parameters:
        timeout - The amount of time, in seconds, during which no response means a failed health check.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unhealthyThreshold

        AwsElbLoadBalancerHealthCheck.Builder unhealthyThreshold​(Integer unhealthyThreshold)

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

        Parameters:
        unhealthyThreshold - The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.