public class ListenerDescription extends Object implements Serializable
The ListenerDescription data type.
| Constructor and Description |
|---|
ListenerDescription()
Default constructor for a new ListenerDescription object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Listener |
getListener()
The Listener data type.
|
List<String> |
getPolicyNames()
A list of policies enabled for this listener.
|
int |
hashCode() |
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.
|
public ListenerDescription()
public Listener getListener()
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing.
public void setListener(Listener listener)
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing.
listener - The Listener data type. For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing.
public ListenerDescription withListener(Listener listener)
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing.
Returns a reference to this object so that method calls can be chained together.
listener - The Listener data type. For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing.
public List<String> getPolicyNames()
public void setPolicyNames(Collection<String> policyNames)
policyNames - A list of policies enabled for this listener. An empty list indicates
that no policies are enabled.public ListenerDescription withPolicyNames(String... policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - A list of policies enabled for this listener. An empty list indicates
that no policies are enabled.public ListenerDescription withPolicyNames(Collection<String> policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - A list of policies enabled for this listener. An empty list indicates
that no policies are enabled.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.