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:
  • Constructor Details

    • LoadBalancerDescription

      public LoadBalancerDescription()
  • Method Details

    • 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) or withListeners(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public LoadBalancerDescription clone()
      Overrides:
      clone in class Object