public static class BaseLoadBalancer.Builder<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
algorithm |
protected String |
name |
protected Set<N> |
nodes |
protected Integer |
port |
protected String |
protocol |
Constructor and Description |
---|
BaseLoadBalancer.Builder() |
Modifier and Type | Method and Description |
---|---|
BaseLoadBalancer.Builder<N,T> |
algorithm(String algorithm) |
BaseLoadBalancer<N,T> |
build() |
BaseLoadBalancer.Builder<N,T> |
from(T baseLoadBalancer) |
BaseLoadBalancer.Builder<N,T> |
name(String name) |
BaseLoadBalancer.Builder<N,T> |
node(N node) |
BaseLoadBalancer.Builder<N,T> |
nodes(Iterable<N> nodes) |
BaseLoadBalancer.Builder<N,T> |
port(Integer port) |
BaseLoadBalancer.Builder<N,T> |
protocol(String protocol) |
protected String name
protected String protocol
protected Integer port
protected String algorithm
public BaseLoadBalancer.Builder<N,T> name(String name)
public BaseLoadBalancer.Builder<N,T> protocol(String protocol)
public BaseLoadBalancer.Builder<N,T> port(Integer port)
public BaseLoadBalancer.Builder<N,T> algorithm(String algorithm)
public BaseLoadBalancer.Builder<N,T> nodes(Iterable<N> nodes)
public BaseLoadBalancer.Builder<N,T> node(N node)
public BaseLoadBalancer<N,T> build()
public BaseLoadBalancer.Builder<N,T> from(T baseLoadBalancer)
Copyright © 2009-2013 jclouds. All Rights Reserved.