@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbLoadBalancerListenerDescription extends Object implements Serializable, Cloneable, StructuredPojo
Lists the policies that are enabled for a load balancer listener.
| Constructor and Description |
|---|
AwsElbLoadBalancerListenerDescription() |
| Modifier and Type | Method and Description |
|---|---|
AwsElbLoadBalancerListenerDescription |
clone() |
boolean |
equals(Object obj) |
AwsElbLoadBalancerListener |
getListener()
Information about the listener.
|
List<String> |
getPolicyNames()
The policies enabled for the listener.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setListener(AwsElbLoadBalancerListener listener)
Information about the listener.
|
void |
setPolicyNames(Collection<String> policyNames)
The policies enabled for the listener.
|
String |
toString()
Returns a string representation of this object.
|
AwsElbLoadBalancerListenerDescription |
withListener(AwsElbLoadBalancerListener listener)
Information about the listener.
|
AwsElbLoadBalancerListenerDescription |
withPolicyNames(Collection<String> policyNames)
The policies enabled for the listener.
|
AwsElbLoadBalancerListenerDescription |
withPolicyNames(String... policyNames)
The policies enabled for the listener.
|
public AwsElbLoadBalancerListenerDescription()
public void setListener(AwsElbLoadBalancerListener listener)
Information about the listener.
listener - Information about the listener.public AwsElbLoadBalancerListener getListener()
Information about the listener.
public AwsElbLoadBalancerListenerDescription withListener(AwsElbLoadBalancerListener listener)
Information about the listener.
listener - Information about the listener.public List<String> getPolicyNames()
The policies enabled for the listener.
public void setPolicyNames(Collection<String> policyNames)
The policies enabled for the listener.
policyNames - The policies enabled for the listener.public AwsElbLoadBalancerListenerDescription withPolicyNames(String... policyNames)
The policies enabled for the listener.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyNames(java.util.Collection) or withPolicyNames(java.util.Collection) if you want to
override the existing values.
policyNames - The policies enabled for the listener.public AwsElbLoadBalancerListenerDescription withPolicyNames(Collection<String> policyNames)
The policies enabled for the listener.
policyNames - The policies enabled for the listener.public String toString()
toString in class ObjectObject.toString()public AwsElbLoadBalancerListenerDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.