Package org.jclouds.gogrid.domain
Class LoadBalancer
- java.lang.Object
-
- org.jclouds.gogrid.domain.LoadBalancer
-
- All Implemented Interfaces:
Comparable<LoadBalancer>
public class LoadBalancer extends Object implements Comparable<LoadBalancer>
Class LoadBalancer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadBalancer.Builder<T extends LoadBalancer.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
LoadBalancer(long id, String name, String description, IpPortPair virtualIp, Set<IpPortPair> realIpList, LoadBalancerType type, LoadBalancerPersistenceType persistence, LoadBalancerOs os, LoadBalancerState state, Option datacenter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.MoreObjects.ToStringHelper
string()
LoadBalancer.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
LoadBalancer
@ConstructorProperties({"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)
-
-
Method Detail
-
builder
public static LoadBalancer.Builder<?> builder()
-
toBuilder
public LoadBalancer.Builder<?> toBuilder()
-
getId
public long getId()
-
getName
public String getName()
-
getVirtualIp
public IpPortPair getVirtualIp()
-
getRealIpList
public Set<IpPortPair> getRealIpList()
-
getType
public LoadBalancerType getType()
-
getPersistence
public LoadBalancerPersistenceType getPersistence()
-
getOs
public LoadBalancerOs getOs()
-
getState
public LoadBalancerState getState()
-
getDatacenter
public Option getDatacenter()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(LoadBalancer o)
- Specified by:
compareTo
in interfaceComparable<LoadBalancer>
-
-