public class LoadBalancerAttributes extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LoadBalancerAttributes.Builder |
Modifier and Type | Field and Description |
---|---|
protected BaseLoadBalancer.Algorithm |
algorithm |
protected Boolean |
halfClosed |
protected String |
name |
protected Integer |
port |
protected String |
protocol |
protected Integer |
timeout |
Constructor and Description |
---|
LoadBalancerAttributes() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerAttributes |
algorithm(BaseLoadBalancer.Algorithm algorithm) |
boolean |
equals(Object obj) |
static <T extends BaseLoadBalancer<?,T>> |
fromLoadBalancer(T lb) |
LoadBalancerAttributes |
halfClosed(Boolean halfClosed) |
int |
hashCode() |
LoadBalancerAttributes |
name(String name) |
LoadBalancerAttributes |
port(Integer port) |
LoadBalancerAttributes |
protocol(String protocol) |
protected com.google.common.base.Objects.ToStringHelper |
string() |
LoadBalancerAttributes |
timeout(Integer timeout) |
String |
toString() |
protected String name
protected String protocol
protected Integer port
protected BaseLoadBalancer.Algorithm algorithm
protected Integer timeout
protected Boolean halfClosed
public LoadBalancerAttributes name(String name)
public LoadBalancerAttributes protocol(String protocol)
public LoadBalancerAttributes port(Integer port)
public LoadBalancerAttributes algorithm(BaseLoadBalancer.Algorithm algorithm)
public LoadBalancerAttributes timeout(Integer timeout)
public LoadBalancerAttributes halfClosed(Boolean halfClosed)
protected com.google.common.base.Objects.ToStringHelper string()
public static <T extends BaseLoadBalancer<?,T>> LoadBalancerAttributes fromLoadBalancer(T lb)
Copyright © 2009-2013 jclouds. All Rights Reserved.