Class ListenerDescription
java.lang.Object
com.amazonaws.services.elasticloadbalancing.model.ListenerDescription
- All Implemented Interfaces:
Serializable
,Cloneable
The policies enabled for a listener.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The policies.int
hashCode()
void
setListener
(Listener listener) void
setPolicyNames
(Collection<String> policyNames) The policies.toString()
Returns a string representation of this object; useful for testing and debugging.withListener
(Listener listener) withPolicyNames
(String... policyNames) The policies.withPolicyNames
(Collection<String> policyNames) The policies.
-
Constructor Details
-
ListenerDescription
public ListenerDescription()
-
-
Method Details
-
setListener
- Parameters:
listener
-
-
getListener
- Returns:
-
withListener
- Parameters:
listener
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPolicyNames
The policies. If there are no policies enabled, the list is empty.
- Returns:
- The policies. If there are no policies enabled, the list is empty.
-
setPolicyNames
The policies. If there are no policies enabled, the list is empty.
- Parameters:
policyNames
- The policies. If there are no policies enabled, the list is empty.
-
withPolicyNames
The policies. If there are no policies enabled, the list is empty.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyNames(java.util.Collection)
orwithPolicyNames(java.util.Collection)
if you want to override the existing values.- Parameters:
policyNames
- The policies. If there are no policies enabled, the list is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicyNames
The policies. If there are no policies enabled, the list is empty.
- Parameters:
policyNames
- The policies. If there are no policies enabled, the list is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-