public class LoadBalancer extends Object implements Comparable<LoadBalancer>
Modifier and Type | Class and Description |
---|---|
static class |
LoadBalancer.Builder<T extends LoadBalancer.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
LoadBalancer(long id,
String name,
String description,
IpPortPair virtualIp,
Set<IpPortPair> realIpList,
LoadBalancerType type,
LoadBalancerPersistenceType persistence,
LoadBalancerOs os,
LoadBalancerState state,
Option datacenter) |
Modifier and Type | Method and Description |
---|---|
static LoadBalancer.Builder<?> |
builder() |
int |
compareTo(LoadBalancer o) |
boolean |
equals(Object obj) |
Option |
getDatacenter() |
String |
getDescription() |
long |
getId() |
String |
getName() |
LoadBalancerOs |
getOs() |
LoadBalancerPersistenceType |
getPersistence() |
Set<IpPortPair> |
getRealIpList() |
LoadBalancerState |
getState() |
LoadBalancerType |
getType() |
IpPortPair |
getVirtualIp() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
LoadBalancer.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","name","description","virtualip","realiplist","type","persistence","os","state","datacenter"}) protected LoadBalancer(long id, String name, @Nullable String description, IpPortPair virtualIp, Set<IpPortPair> realIpList, LoadBalancerType type, LoadBalancerPersistenceType persistence, LoadBalancerOs os, LoadBalancerState state, Option datacenter)
public static LoadBalancer.Builder<?> builder()
public LoadBalancer.Builder<?> toBuilder()
public long getId()
public String getName()
public IpPortPair getVirtualIp()
public Set<IpPortPair> getRealIpList()
public LoadBalancerType getType()
public LoadBalancerPersistenceType getPersistence()
public LoadBalancerOs getOs()
public LoadBalancerState getState()
public Option getDatacenter()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(LoadBalancer o)
compareTo
in interface Comparable<LoadBalancer>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.