org.jclouds.cloudloadbalancers.domain
Class LoadBalancer
java.lang.Object
org.jclouds.cloudloadbalancers.domain.internal.BaseLoadBalancer<Node,LoadBalancer>
org.jclouds.cloudloadbalancers.domain.LoadBalancer
- All Implemented Interfaces:
- Comparable<BaseLoadBalancer<Node,LoadBalancer>>
public class LoadBalancer
- extends BaseLoadBalancer<Node,LoadBalancer>
- Author:
- Adrian Cole
- See Also:
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)
|
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)
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.