com.amazonaws.services.elasticloadbalancing.model
Class ListenerDescription

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.ListenerDescription

public class ListenerDescription
extends Object

The ListenerDescription data type.


Constructor Summary
ListenerDescription()
          Default constructor for a new ListenerDescription object.
 
Method Summary
 Listener getListener()
          The Listener data type.
 List<String> getPolicyNames()
          A list of policies enabled for this listener.
 void setListener(Listener listener)
          The Listener data type.
 void setPolicyNames(Collection<String> policyNames)
          A list of policies enabled for this listener.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListenerDescription withListener(Listener listener)
          The Listener data type.
 ListenerDescription withPolicyNames(Collection<String> policyNames)
          A list of policies enabled for this listener.
 ListenerDescription withPolicyNames(String... policyNames)
          A list of policies enabled for this listener.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListenerDescription

public ListenerDescription()
Default constructor for a new ListenerDescription object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getListener

public Listener getListener()
The Listener data type.

Returns:
The Listener data type.

setListener

public void setListener(Listener listener)
The Listener data type.

Parameters:
listener - The Listener data type.

withListener

public ListenerDescription withListener(Listener listener)
The Listener data type.

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

Parameters:
listener - The Listener data type.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyNames

public List<String> getPolicyNames()
A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

Returns:
A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

setPolicyNames

public void setPolicyNames(Collection<String> policyNames)
A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

Parameters:
policyNames - A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

withPolicyNames

public ListenerDescription withPolicyNames(String... policyNames)
A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

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

Parameters:
policyNames - A list of policies enabled for this listener. An empty list indicates that no policies are enabled.
Returns:
A reference to this updated object so that method calls can be chained together.

withPolicyNames

public ListenerDescription withPolicyNames(Collection<String> policyNames)
A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

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

Parameters:
policyNames - A list of policies enabled for this listener. An empty list indicates that no policies are enabled.
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()


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