org.jclouds.gogrid.domain
Class LoadBalancer

java.lang.Object
  extended by org.jclouds.gogrid.domain.LoadBalancer
All Implemented Interfaces:
Comparable<LoadBalancer>

public class LoadBalancer
extends Object
implements Comparable<LoadBalancer>

Author:
Oleksiy Yarmula

Constructor Summary
LoadBalancer()
          A no-args constructor is required for deserialization
LoadBalancer(long id, String name, String description, IpPortPair virtualIp, Set<IpPortPair> realIpList, LoadBalancerType type, LoadBalancerPersistenceType persistence, LoadBalancerOs os, LoadBalancerState state, Option datacenter)
           
 
Method Summary
 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()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.