org.jclouds.elb.domain
Class HealthCheck.Builder<T extends HealthCheck.Builder<T>>

java.lang.Object
  extended by org.jclouds.elb.domain.HealthCheck.Builder<T>
Enclosing class:
HealthCheck

public abstract static class HealthCheck.Builder<T extends HealthCheck.Builder<T>>
extends Object


Field Summary
protected  int healthyThreshold
           
protected  int interval
           
protected  String target
           
protected  int timeout
           
protected  int unhealthyThreshold
           
 
Constructor Summary
HealthCheck.Builder()
           
 
Method Summary
 HealthCheck build()
           
 T fromListener(HealthCheck in)
           
 T healthyThreshold(int healthyThreshold)
           
 T interval(int interval)
           
protected abstract  T self()
           
 T target(String target)
           
 T timeout(int timeout)
           
 T unhealthyThreshold(int unhealthyThreshold)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

healthyThreshold

protected int healthyThreshold

interval

protected int interval

target

protected String target

timeout

protected int timeout

unhealthyThreshold

protected int unhealthyThreshold
Constructor Detail

HealthCheck.Builder

public HealthCheck.Builder()
Method Detail

self

protected abstract T self()

healthyThreshold

public T healthyThreshold(int healthyThreshold)
See Also:
HealthCheck.getHealthyThreshold()

interval

public T interval(int interval)
See Also:
HealthCheck.getInterval()

target

public T target(String target)
See Also:
HealthCheck.getTarget()

timeout

public T timeout(int timeout)
See Also:
HealthCheck.getTimeout()

unhealthyThreshold

public T unhealthyThreshold(int unhealthyThreshold)
See Also:
HealthCheck.getUnhealthyThreshold()

build

public HealthCheck build()

fromListener

public T fromListener(HealthCheck in)


Copyright © 2009-2012 jclouds. All Rights Reserved.