public class LoadBalancerDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the details of a LoadBalancer.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
domain
The domain name of the LoadBalancer.
|
private SdkInternalList<Listener> |
listeners
A list of Listeners used by the LoadBalancer.
|
private java.lang.String |
loadBalancerName
The name of the LoadBalancer.
|
Constructor and Description |
---|
LoadBalancerDescription() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomain()
The domain name of the LoadBalancer.
|
java.util.List<Listener> |
getListeners()
A list of Listeners used by the LoadBalancer.
|
java.lang.String |
getLoadBalancerName()
The name of the LoadBalancer.
|
int |
hashCode() |
void |
setDomain(java.lang.String domain)
The domain name of the LoadBalancer.
|
void |
setListeners(java.util.Collection<Listener> listeners)
A list of Listeners used by the LoadBalancer.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the LoadBalancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoadBalancerDescription |
withDomain(java.lang.String domain)
The domain name of the LoadBalancer.
|
LoadBalancerDescription |
withListeners(java.util.Collection<Listener> listeners)
A list of Listeners used by the LoadBalancer.
|
LoadBalancerDescription |
withListeners(Listener... listeners)
A list of Listeners used by the LoadBalancer.
|
LoadBalancerDescription |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the LoadBalancer.
|
private java.lang.String loadBalancerName
The name of the LoadBalancer.
private java.lang.String domain
The domain name of the LoadBalancer.
private SdkInternalList<Listener> listeners
A list of Listeners used by the LoadBalancer.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the LoadBalancer.
loadBalancerName
- The name of the LoadBalancer.public java.lang.String getLoadBalancerName()
The name of the LoadBalancer.
public LoadBalancerDescription withLoadBalancerName(java.lang.String loadBalancerName)
The name of the LoadBalancer.
loadBalancerName
- The name of the LoadBalancer.public void setDomain(java.lang.String domain)
The domain name of the LoadBalancer.
domain
- The domain name of the LoadBalancer.public java.lang.String getDomain()
The domain name of the LoadBalancer.
public LoadBalancerDescription withDomain(java.lang.String domain)
The domain name of the LoadBalancer.
domain
- The domain name of the LoadBalancer.public java.util.List<Listener> getListeners()
A list of Listeners used by the LoadBalancer.
public void setListeners(java.util.Collection<Listener> listeners)
A list of Listeners used by the LoadBalancer.
listeners
- A list of Listeners used by the LoadBalancer.public LoadBalancerDescription withListeners(Listener... listeners)
A list of Listeners used by the LoadBalancer.
NOTE: This method appends the values to the existing list (if
any). Use setListeners(java.util.Collection)
or
withListeners(java.util.Collection)
if you want to override the
existing values.
listeners
- A list of Listeners used by the LoadBalancer.public LoadBalancerDescription withListeners(java.util.Collection<Listener> listeners)
A list of Listeners used by the LoadBalancer.
listeners
- A list of Listeners used by the LoadBalancer.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public LoadBalancerDescription clone()
clone
in class java.lang.Object