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 classLoadBalancer.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protectedLoadBalancer(int port, int id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBalancer.Builderbuilder()booleanequals(Object obj)intgetId()intgetPort()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()LoadBalancer.BuildertoBuilder()StringtoString()
-
-
-
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()
-
-