org.jclouds.cloudloadbalancers.domain
Class LoadBalancer.Builder

java.lang.Object
  extended by org.jclouds.cloudloadbalancers.domain.internal.BaseLoadBalancer.Builder<Node,LoadBalancer>
      extended by org.jclouds.cloudloadbalancers.domain.LoadBalancer.Builder
Enclosing class:
LoadBalancer

public static class LoadBalancer.Builder
extends BaseLoadBalancer.Builder<Node,LoadBalancer>


Field Summary
 
Fields inherited from class org.jclouds.cloudloadbalancers.domain.internal.BaseLoadBalancer.Builder
algorithm, name, nodes, port, protocol
 
Constructor Summary
LoadBalancer.Builder()
           
 
Method Summary
 LoadBalancer.Builder algorithm(String algorithm)
           
 LoadBalancer build()
           
 LoadBalancer.Builder clusterName(String clusterName)
           
 LoadBalancer.Builder connectionLoggingEnabled(boolean connectionLoggingEnabled)
           
 LoadBalancer.Builder created(Date created)
           
 LoadBalancer.Builder from(LoadBalancer in)
           
 LoadBalancer.Builder id(int id)
           
 LoadBalancer.Builder name(String name)
           
 LoadBalancer.Builder node(Node nodes)
           
 LoadBalancer.Builder nodes(Iterable<Node> nodes)
           
 LoadBalancer.Builder port(Integer port)
           
 LoadBalancer.Builder protocol(String protocol)
           
 LoadBalancer.Builder region(String region)
           
 LoadBalancer.Builder sessionPersistenceType(String sessionPersistenceType)
           
 LoadBalancer.Builder status(LoadBalancer.Status status)
           
 LoadBalancer.Builder updated(Date updated)
           
 LoadBalancer.Builder virtualIPs(Iterable<VirtualIP> virtualIPs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadBalancer.Builder

public LoadBalancer.Builder()
Method Detail

region

public LoadBalancer.Builder region(String region)

id

public LoadBalancer.Builder id(int id)

status

public LoadBalancer.Builder status(LoadBalancer.Status status)

virtualIPs

public LoadBalancer.Builder virtualIPs(Iterable<VirtualIP> virtualIPs)

sessionPersistenceType

public LoadBalancer.Builder sessionPersistenceType(String sessionPersistenceType)

clusterName

public LoadBalancer.Builder clusterName(String clusterName)

created

public LoadBalancer.Builder created(Date created)

updated

public LoadBalancer.Builder updated(Date updated)

connectionLoggingEnabled

public LoadBalancer.Builder connectionLoggingEnabled(boolean connectionLoggingEnabled)

build

public LoadBalancer build()
Overrides:
build in class BaseLoadBalancer.Builder<Node,LoadBalancer>

nodes

public LoadBalancer.Builder nodes(Iterable<Node> nodes)
Overrides:
nodes in class BaseLoadBalancer.Builder<Node,LoadBalancer>

node

public LoadBalancer.Builder node(Node nodes)
Overrides:
node in class BaseLoadBalancer.Builder<Node,LoadBalancer>

algorithm

public LoadBalancer.Builder algorithm(String algorithm)
Overrides:
algorithm in class BaseLoadBalancer.Builder<Node,LoadBalancer>

from

public LoadBalancer.Builder from(LoadBalancer in)
Overrides:
from in class BaseLoadBalancer.Builder<Node,LoadBalancer>

name

public LoadBalancer.Builder name(String name)
Overrides:
name in class BaseLoadBalancer.Builder<Node,LoadBalancer>

port

public LoadBalancer.Builder port(Integer port)
Overrides:
port in class BaseLoadBalancer.Builder<Node,LoadBalancer>

protocol

public LoadBalancer.Builder protocol(String protocol)
Overrides:
protocol in class BaseLoadBalancer.Builder<Node,LoadBalancer>


Copyright © 2009-2011 jclouds. All Rights Reserved.