org.jclouds.cloudloadbalancers.domain.internal
Class BaseLoadBalancer.Builder<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>>
java.lang.Object
org.jclouds.cloudloadbalancers.domain.internal.BaseLoadBalancer.Builder<N,T>
- Direct Known Subclasses:
- LoadBalancer.Builder, LoadBalancerRequest.Builder
- Enclosing class:
- BaseLoadBalancer<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>>
public static class BaseLoadBalancer.Builder<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
protocol
protected String protocol
port
protected Integer port
algorithm
protected String algorithm
nodes
protected Set<N extends BaseNode<N>> nodes
BaseLoadBalancer.Builder
public BaseLoadBalancer.Builder()
name
public BaseLoadBalancer.Builder<N,T> name(String name)
protocol
public BaseLoadBalancer.Builder<N,T> protocol(String protocol)
port
public BaseLoadBalancer.Builder<N,T> port(Integer port)
algorithm
public BaseLoadBalancer.Builder<N,T> algorithm(String algorithm)
nodes
public BaseLoadBalancer.Builder<N,T> nodes(Iterable<N> nodes)
node
public BaseLoadBalancer.Builder<N,T> node(N node)
build
public BaseLoadBalancer<N,T> build()
from
public BaseLoadBalancer.Builder<N,T> from(T baseLoadBalancer)
Copyright © 2009-2011 jclouds. All Rights Reserved.