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 LoadBalancerDescriptionclone()booleanequals(Object obj)StringgetDomain()The domain name of the LoadBalancer.List<Listener>getListeners()A list of Listeners used by the LoadBalancer.StringgetLoadBalancerName()The name of the LoadBalancer.inthashCode()voidsetDomain(String domain)The domain name of the LoadBalancer.voidsetListeners(Collection<Listener> listeners)A list of Listeners used by the LoadBalancer.voidsetLoadBalancerName(String loadBalancerName)The name of the LoadBalancer.StringtoString()Returns a string representation of this object; useful for testing and debugging.LoadBalancerDescriptionwithDomain(String domain)The domain name of the LoadBalancer.LoadBalancerDescriptionwithListeners(Listener... listeners)A list of Listeners used by the LoadBalancer.LoadBalancerDescriptionwithListeners(Collection<Listener> listeners)A list of Listeners used by the LoadBalancer.LoadBalancerDescriptionwithLoadBalancerName(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public LoadBalancerDescription clone()
-
-