public class ListenerDescription
extends java.lang.Object
implements java.io.Serializable
The policies enabled for a listener.
Constructor and Description |
---|
ListenerDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Listener |
getListener()
Information about a listener.
|
java.util.List<java.lang.String> |
getPolicyNames()
The policies.
|
int |
hashCode() |
void |
setListener(Listener listener)
Information about a listener.
|
void |
setPolicyNames(java.util.Collection<java.lang.String> policyNames)
The policies.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListenerDescription |
withListener(Listener listener)
Information about a listener.
|
ListenerDescription |
withPolicyNames(java.util.Collection<java.lang.String> policyNames)
The policies.
|
ListenerDescription |
withPolicyNames(java.lang.String... policyNames)
The policies.
|
public Listener getListener()
Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
public void setListener(Listener listener)
Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
listener
- Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
public ListenerDescription withListener(Listener listener)
Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
Returns a reference to this object so that method calls can be chained together.
listener
- Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
public java.util.List<java.lang.String> getPolicyNames()
The policies. If there are no policies enabled, the list is empty.
The policies. If there are no policies enabled, the list is empty.
public void setPolicyNames(java.util.Collection<java.lang.String> policyNames)
The policies. If there are no policies enabled, the list is empty.
policyNames
- The policies. If there are no policies enabled, the list is empty.
public ListenerDescription withPolicyNames(java.lang.String... policyNames)
The policies. If there are no policies enabled, the list is empty.
Returns a reference to this object so that method calls can be chained together.
policyNames
- The policies. If there are no policies enabled, the list is empty.
public ListenerDescription withPolicyNames(java.util.Collection<java.lang.String> policyNames)
The policies. If there are no policies enabled, the list is empty.
Returns a reference to this object so that method calls can be chained together.
policyNames
- The policies. If there are no policies enabled, the list is empty.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.