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>
- Author:
- Oleksiy Yarmula
LoadBalancer
public LoadBalancer()
- A no-args constructor is required for deserialization
LoadBalancer
public LoadBalancer(long id,
String name,
String description,
IpPortPair virtualIp,
Set<IpPortPair> realIpList,
LoadBalancerType type,
LoadBalancerPersistenceType persistence,
LoadBalancerOs os,
LoadBalancerState state,
Option datacenter)
getId
public long getId()
getDatacenter
public Option getDatacenter()
getName
public String getName()
getDescription
public String getDescription()
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()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(LoadBalancer o)
- Specified by:
compareTo
in interface Comparable<LoadBalancer>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.