org.jclouds.cloudloadbalancers.domain
Class LoadBalancer.Builder
java.lang.Object
org.jclouds.cloudloadbalancers.domain.internal.BaseLoadBalancer.Builder<Node,LoadBalancer>
org.jclouds.cloudloadbalancers.domain.LoadBalancer.Builder
- Enclosing class:
- LoadBalancer
public static class LoadBalancer.Builder
- extends BaseLoadBalancer.Builder<Node,LoadBalancer>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadBalancer.Builder
public LoadBalancer.Builder()
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.