com.amazonaws.services.elasticbeanstalk.model
Class LoadBalancerDescription

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.LoadBalancerDescription

public class LoadBalancerDescription
extends Object

Describes the details of a LoadBalancer.


Constructor Summary
LoadBalancerDescription()
           
 
Method Summary
 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(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(String loadBalancerName)
          The name of the LoadBalancer.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadBalancerDescription

public LoadBalancerDescription()
Method Detail

getLoadBalancerName

public String getLoadBalancerName()
The name of the LoadBalancer.

Returns:
The name of the LoadBalancer.

setLoadBalancerName

public void setLoadBalancerName(String loadBalancerName)
The name of the LoadBalancer.

Parameters:
loadBalancerName - The name of the LoadBalancer.

withLoadBalancerName

public LoadBalancerDescription withLoadBalancerName(String loadBalancerName)
The name of the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
loadBalancerName - The name of the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getDomain

public String getDomain()
The domain name of the LoadBalancer.

Returns:
The domain name of the LoadBalancer.

setDomain

public void setDomain(String domain)
The domain name of the LoadBalancer.

Parameters:
domain - The domain name of the LoadBalancer.

withDomain

public LoadBalancerDescription withDomain(String domain)
The domain name of the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
domain - The domain name of the LoadBalancer.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
listeners - A list of Listeners used by the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

withListeners

public LoadBalancerDescription withListeners(Collection<Listener> listeners)
A list of Listeners used by the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
listeners - A list of Listeners used by the LoadBalancer.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.