Class LoadBalancerDescription
java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.LoadBalancerDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the details of a LoadBalancer.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The domain name of the LoadBalancer.A list of Listeners used by the LoadBalancer.The name of the LoadBalancer.int
hashCode()
void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withDomain
(String domain) The domain name of the LoadBalancer.withListeners
(Listener... listeners) A list of Listeners used by the LoadBalancer.withListeners
(Collection<Listener> listeners) A list of Listeners used by the LoadBalancer.withLoadBalancerName
(String loadBalancerName) The name of the LoadBalancer.
-
Constructor Details
-
LoadBalancerDescription
public LoadBalancerDescription()
-
-
Method Details
-
setLoadBalancerName
The name of the LoadBalancer.
- Parameters:
loadBalancerName
- The name of the LoadBalancer.
-
getLoadBalancerName
The name of the LoadBalancer.
- Returns:
- The name of the LoadBalancer.
-
withLoadBalancerName
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
The domain name of the LoadBalancer.
- Parameters:
domain
- The domain name of the LoadBalancer.
-
getDomain
The domain name of the LoadBalancer.
- Returns:
- The domain name of the LoadBalancer.
-
withDomain
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
A list of Listeners used by the LoadBalancer.
- Returns:
- A list of Listeners used by the LoadBalancer.
-
setListeners
A list of Listeners used by the LoadBalancer.
- Parameters:
listeners
- A list of Listeners used by the LoadBalancer.
-
withListeners
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-