Class LoadBalancer
java.lang.Object
org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer<Node,LoadBalancer>
org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer
- All Implemented Interfaces:
Comparable<BaseLoadBalancer<Node,
LoadBalancer>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
All load balancers also have a status attribute to signify the current configuration status of the device.Nested classes/interfaces inherited from class org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer
BaseLoadBalancer.Algorithm
-
Field Summary
Fields inherited from class org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer
algorithm, connectionLogging, connectionThrottle, halfClosed, healthMonitor, name, nodes, port, protocol, sessionPersistence, timeout, WEIGHTED_ALGORITHMS
-
Constructor Summary
ConstructorsConstructorDescriptionLoadBalancer
(String region, int id, String name, String protocol, Integer port, Set<Node> nodes, Integer timeout, Boolean halfClosed, BaseLoadBalancer.Algorithm algorithm, LoadBalancer.Status status, Set<VirtualIPWithId> virtualIPs, Map<String, SessionPersistence> sessionPersistenceType, String clusterName, Date created, Date updated, Map<String, Boolean> connectionLogging, ConnectionThrottle connectionThrottle, boolean contentCaching, int nodeCount, HealthMonitor healthMonitor, SSLTermination sslTermination, SourceAddresses sourceAddresses, Set<AccessRuleWithId> accessRules, Metadata metadata, URI uri) -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadBalancer.Builder
builder()
boolean
Name of the cluster.When the load balancer was created.int
getId()
int
Broken out as a separate field because when LoadBalancers are returned frominvalid reference
LoadBalancerApi#list()
When the load balancer was updated.getUri()
int
hashCode()
boolean
View the current content caching configuration.protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
Methods inherited from class org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer
compareTo, getAlgorithm, getConnectionThrottle, getHealthMonitor, getName, getNodes, getPort, getProtocol, getSessionPersistenceType, getTimeout, isConnectionLogging, isHalfClosed
-
Constructor Details
-
LoadBalancer
public LoadBalancer(String region, int id, String name, String protocol, @Nullable Integer port, Set<Node> nodes, @Nullable Integer timeout, @Nullable Boolean halfClosed, @Nullable BaseLoadBalancer.Algorithm algorithm, LoadBalancer.Status status, Set<VirtualIPWithId> virtualIPs, @Nullable Map<String, SessionPersistence> sessionPersistenceType, String clusterName, Date created, Date updated, @Nullable Map<String, Boolean> connectionLogging, @Nullable ConnectionThrottle connectionThrottle, boolean contentCaching, int nodeCount, @Nullable HealthMonitor healthMonitor, @Nullable SSLTermination sslTermination, SourceAddresses sourceAddresses, Set<AccessRuleWithId> accessRules, Metadata metadata, URI uri)
-
-
Method Details
-
getRegion
-
getId
public int getId() -
getStatus
- See Also:
-
getVirtualIPs
- See Also:
-
getClusterName
Name of the cluster. -
getCreated
When the load balancer was created. -
getUpdated
When the load balancer was updated. -
isContentCaching
public boolean isContentCaching()View the current content caching configuration. -
getNodeCount
public int getNodeCount()Broken out as a separate field because when LoadBalancers are returned frominvalid reference
LoadBalancerApi#list()
invalid reference
LoadBalancerApi#get(int)
- Returns:
- The number of Nodes in this LoadBalancer
-
getSSLTermination
- See Also:
-
getSourceAddresses
- See Also:
-
getAccessRules
- See Also:
-
getMetadata
- See Also:
-
getUri
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()- Overrides:
string
in classBaseLoadBalancer<Node,
LoadBalancer>
-
toString
- Overrides:
toString
in classBaseLoadBalancer<Node,
LoadBalancer>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseLoadBalancer<Node,
LoadBalancer>
-
equals
- Overrides:
equals
in classBaseLoadBalancer<Node,
LoadBalancer>
-
builder
-
toBuilder
- Overrides:
toBuilder
in classBaseLoadBalancer<Node,
LoadBalancer>
-