Class HttpHealthCheck

java.lang.Object
org.jclouds.googlecomputeengine.domain.HttpHealthCheck

public abstract class HttpHealthCheck extends Object
  • Method Details

    • id

      public abstract String id()
    • selfLink

      public abstract URI selfLink()
    • creationTimestamp

      public abstract Date creationTimestamp()
    • name

      public abstract String name()
    • description

      @Nullable public abstract String description()
    • host

      @Nullable public abstract String host()
      The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
    • requestPath

      @Nullable public abstract String requestPath()
    • port

      @Nullable public abstract Integer port()
      The TCP port number for the HTTP health check request.
    • checkIntervalSec

      @Nullable public abstract Integer checkIntervalSec()
      How often (in seconds) to send a health check.
    • timeoutSec

      @Nullable public abstract Integer timeoutSec()
      How long (in seconds) to wait before claiming failure.
    • unhealthyThreshold

      @Nullable public abstract Integer unhealthyThreshold()
      A so-far healthy VM will be marked unhealthy after this many consecutive failures.
    • healthyThreshold

      @Nullable public abstract Integer healthyThreshold()
      An unhealthy VM will be marked healthy after this many consecutive successes.
    • create

      public static HttpHealthCheck create(String id, URI selfLink, Date creationTimestamp, String name, String description, String host, String requestPath, Integer port, Integer checkIntervalSec, Integer timeoutSec, Integer unhealthyThreshold, Integer healthyThreshold)