Class LoadBalancerDescription
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.LoadBalancerDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class LoadBalancerDescription extends Object implements Serializable, Cloneable
Describes the details of a LoadBalancer.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoadBalancerDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadBalancerDescription
clone()
boolean
equals(Object obj)
String
getDomain()
The domain name of the LoadBalancer.List<Listener>
getListeners()
A list of Listeners used by the LoadBalancer.String
getLoadBalancerName()
The name of the LoadBalancer.int
hashCode()
void
setDomain(String domain)
The domain name of the LoadBalancer.void
setListeners(Collection<Listener> listeners)
A list of Listeners used by the LoadBalancer.void
setLoadBalancerName(String loadBalancerName)
The name of the LoadBalancer.String
toString()
Returns a string representation of this object; useful for testing and debugging.LoadBalancerDescription
withDomain(String domain)
The domain name of the LoadBalancer.LoadBalancerDescription
withListeners(Listener... listeners)
A list of Listeners used by the LoadBalancer.LoadBalancerDescription
withListeners(Collection<Listener> listeners)
A list of Listeners used by the LoadBalancer.LoadBalancerDescription
withLoadBalancerName(String loadBalancerName)
The name of the LoadBalancer.
-
-
-
Method Detail
-
setLoadBalancerName
public void setLoadBalancerName(String loadBalancerName)
The name of the LoadBalancer.
- Parameters:
loadBalancerName
- The name of the LoadBalancer.
-
getLoadBalancerName
public String getLoadBalancerName()
The name of the LoadBalancer.
- Returns:
- The name of the LoadBalancer.
-
withLoadBalancerName
public LoadBalancerDescription withLoadBalancerName(String loadBalancerName)
The name of the LoadBalancer.
- Parameters:
loadBalancerName
- The name of the LoadBalancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDomain
public void setDomain(String domain)
The domain name of the LoadBalancer.
- Parameters:
domain
- The domain name of the LoadBalancer.
-
getDomain
public String getDomain()
The domain name of the LoadBalancer.
- Returns:
- The domain name of the LoadBalancer.
-
withDomain
public LoadBalancerDescription withDomain(String domain)
The domain name of the LoadBalancer.
- Parameters:
domain
- The domain name of the LoadBalancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getListeners
public List<Listener> getListeners()
A list of Listeners used by the LoadBalancer.
- Returns:
- A list of Listeners used by the LoadBalancer.
-
setListeners
public void setListeners(Collection<Listener> listeners)
A list of Listeners used by the LoadBalancer.
- Parameters:
listeners
- A list of Listeners used by the LoadBalancer.
-
withListeners
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)
orwithListeners(java.util.Collection)
if you want to override the existing values.- Parameters:
listeners
- A list of Listeners used by the LoadBalancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withListeners
public LoadBalancerDescription withListeners(Collection<Listener> listeners)
A list of Listeners used by the LoadBalancer.
- Parameters:
listeners
- A list of Listeners used by the LoadBalancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public LoadBalancerDescription clone()
-
-