public class LoadBalancer extends Object implements Serializable, Cloneable
Constructor and Description |
---|
LoadBalancer() |
Modifier and Type | Method and Description |
---|---|
LoadBalancer |
clone() |
boolean |
equals(Object obj) |
String |
getContainerName()
The name of the container to associate with the load balancer.
|
Integer |
getContainerPort()
The port on the container to associate with the load balancer.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setContainerName(String containerName)
The name of the container to associate with the load balancer.
|
void |
setContainerPort(Integer containerPort)
The port on the container to associate with the load balancer.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoadBalancer |
withContainerName(String containerName)
The name of the container to associate with the load balancer.
|
LoadBalancer |
withContainerPort(Integer containerPort)
The port on the container to associate with the load balancer.
|
LoadBalancer |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name of the load balancer.public LoadBalancer withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name of the load balancer.public String getContainerName()
public void setContainerName(String containerName)
containerName
- The name of the container to associate with the load balancer.public LoadBalancer withContainerName(String containerName)
Returns a reference to this object so that method calls can be chained together.
containerName
- The name of the container to associate with the load balancer.public Integer getContainerPort()
public void setContainerPort(Integer containerPort)
containerPort
- The port on the container to associate with the load balancer.public LoadBalancer withContainerPort(Integer containerPort)
Returns a reference to this object so that method calls can be chained together.
containerPort
- The port on the container to associate with the load balancer.public String toString()
toString
in class Object
Object.toString()
public LoadBalancer clone()
Copyright © 2015. All rights reserved.