org.jclouds.cloudloadbalancers.domain
Class LoadBalancer

java.lang.Object
  extended by org.jclouds.cloudloadbalancers.domain.internal.BaseLoadBalancer<Node,LoadBalancer>
      extended by org.jclouds.cloudloadbalancers.domain.LoadBalancer
All Implemented Interfaces:
Comparable<BaseLoadBalancer<Node,LoadBalancer>>

public class LoadBalancer
extends BaseLoadBalancer<Node,LoadBalancer>

Author:
Adrian Cole
See Also:

Nested Class Summary
static class LoadBalancer.Builder
           
static class LoadBalancer.Status
          All load balancers also have a status attribute to signify the current configuration status of the device.
 
Field Summary
 
Fields inherited from class org.jclouds.cloudloadbalancers.domain.internal.BaseLoadBalancer
algorithm, name, nodes, port, protocol
 
Constructor Summary
LoadBalancer(String region, int id, String name, String protocol, Integer port, String algorithm, LoadBalancer.Status status, Iterable<VirtualIP> virtualIPs, Iterable<Node> nodes, String sessionPersistenceType, String clusterName, Date created, Date updated, boolean connectionLoggingEnabled)
           
 
Method Summary
static LoadBalancer.Builder builder()
           
 boolean equals(Object obj)
           
 String getClusterName()
           
 Date getCreated()
           
 int getId()
           
 String getRegion()
           
 String getSessionPersistenceType()
           
 LoadBalancer.Status getStatus()
           
 Date getUpdated()
           
 Set<VirtualIP> getVirtualIPs()
           
 int hashCode()
           
 boolean isConnectionLoggingEnabled()
           
 LoadBalancer.Builder toBuilder()
          
 String toString()
           
 
Methods inherited from class org.jclouds.cloudloadbalancers.domain.internal.BaseLoadBalancer
compareTo, getAlgorithm, getName, getNodes, getPort, getProtocol
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadBalancer

public LoadBalancer(String region,
                    int id,
                    String name,
                    String protocol,
                    Integer port,
                    String algorithm,
                    LoadBalancer.Status status,
                    Iterable<VirtualIP> virtualIPs,
                    Iterable<Node> nodes,
                    String sessionPersistenceType,
                    String clusterName,
                    Date created,
                    Date updated,
                    boolean connectionLoggingEnabled)
Method Detail

builder

public static LoadBalancer.Builder builder()

toBuilder

public LoadBalancer.Builder toBuilder()

Overrides:
toBuilder in class BaseLoadBalancer<Node,LoadBalancer>

getRegion

public String getRegion()

getId

public int getId()

getStatus

public LoadBalancer.Status getStatus()

getVirtualIPs

public Set<VirtualIP> getVirtualIPs()

getClusterName

public String getClusterName()

getSessionPersistenceType

public String getSessionPersistenceType()

getCreated

public Date getCreated()

getUpdated

public Date getUpdated()

isConnectionLoggingEnabled

public boolean isConnectionLoggingEnabled()

toString

public String toString()
Overrides:
toString in class BaseLoadBalancer<Node,LoadBalancer>

hashCode

public int hashCode()
Overrides:
hashCode in class BaseLoadBalancer<Node,LoadBalancer>

equals

public boolean equals(Object obj)
Overrides:
equals in class BaseLoadBalancer<Node,LoadBalancer>


Copyright © 2009-2011 jclouds. All Rights Reserved.