Class LoadBalancer
- java.lang.Object
-
- org.jclouds.rackspace.autoscale.v1.domain.LoadBalancer
-
public class LoadBalancer extends Object
Autoscale LoadBalancer. Part of the launch configuration.- See Also:
LaunchConfiguration.getLoadBalancers()
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadBalancer.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
LoadBalancer(int port, int id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBalancer.Builder
builder()
boolean
equals(Object obj)
int
getId()
int
getPort()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
LoadBalancer.Builder
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
LoadBalancer
@ConstructorProperties({"port","loadBalancerId"}) protected LoadBalancer(int port, int id)
-
-
Method Detail
-
getPort
public int getPort()
- Returns:
- the socket port number of this LoadBalancer.
- See Also:
LoadBalancer.Builder.port(int)
-
getId
public int getId()
- Returns:
- the id for this LoadBalancer.
- See Also:
LoadBalancer.Builder.id(int)
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
builder
public static LoadBalancer.Builder builder()
-
toBuilder
public LoadBalancer.Builder toBuilder()
-
-