public static class LoadBalancer.Builder extends BaseLoadBalancer.Builder<Node,LoadBalancer>
Constructor and Description |
---|
LoadBalancer.Builder() |
Modifier and Type | Method and Description |
---|---|
LoadBalancer.Builder |
algorithm(LoadBalancer.Algorithm algorithm) |
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 |
nodeCount(int nodeCount) |
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) |
public LoadBalancer.Builder region(String region)
public LoadBalancer.Builder id(int id)
public LoadBalancer.Builder status(LoadBalancer.Status status)
public LoadBalancer.Builder algorithm(LoadBalancer.Algorithm algorithm)
public LoadBalancer.Builder virtualIPs(Iterable<VirtualIP> virtualIPs)
public LoadBalancer.Builder sessionPersistenceType(String sessionPersistenceType)
public LoadBalancer.Builder clusterName(String clusterName)
public LoadBalancer.Builder created(Date created)
public LoadBalancer.Builder updated(Date updated)
public LoadBalancer.Builder connectionLoggingEnabled(boolean connectionLoggingEnabled)
public LoadBalancer.Builder nodeCount(int nodeCount)
LoadBalancer.getNodeCount()
public LoadBalancer build()
build
in class BaseLoadBalancer.Builder<Node,LoadBalancer>
public LoadBalancer.Builder nodes(Iterable<Node> nodes)
nodes
in class BaseLoadBalancer.Builder<Node,LoadBalancer>
public LoadBalancer.Builder node(Node nodes)
node
in class BaseLoadBalancer.Builder<Node,LoadBalancer>
public LoadBalancer.Builder algorithm(String algorithm)
algorithm
in class BaseLoadBalancer.Builder<Node,LoadBalancer>
public LoadBalancer.Builder from(LoadBalancer in)
from
in class BaseLoadBalancer.Builder<Node,LoadBalancer>
public LoadBalancer.Builder name(String name)
name
in class BaseLoadBalancer.Builder<Node,LoadBalancer>
public LoadBalancer.Builder port(Integer port)
port
in class BaseLoadBalancer.Builder<Node,LoadBalancer>
public LoadBalancer.Builder protocol(String protocol)
protocol
in class BaseLoadBalancer.Builder<Node,LoadBalancer>
Copyright © 2009-2013 jclouds. All Rights Reserved.