|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticloadbalancing.model.SetLoadBalancerPoliciesOfListenerRequest
public class SetLoadBalancerPoliciesOfListenerRequest
Container for the parameters to the SetLoadBalancerPoliciesOfListener operation.
Associates, updates, or disables a policy with a listener on the load balancer. You can associate multiple policies with a listener.
AmazonElasticLoadBalancing.setLoadBalancerPoliciesOfListener(SetLoadBalancerPoliciesOfListenerRequest),
Serialized Form| Constructor Summary | |
|---|---|
SetLoadBalancerPoliciesOfListenerRequest()
Default constructor for a new SetLoadBalancerPoliciesOfListenerRequest object. |
|
SetLoadBalancerPoliciesOfListenerRequest(java.lang.String loadBalancerName,
java.lang.Integer loadBalancerPort,
java.util.List<java.lang.String> policyNames)
Constructs a new SetLoadBalancerPoliciesOfListenerRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getLoadBalancerName()
The name of the load balancer. |
java.lang.Integer |
getLoadBalancerPort()
The external port of the load balancer to associate the policy. |
java.util.List<java.lang.String> |
getPolicyNames()
List of policies to be associated with the listener. |
int |
hashCode()
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer. |
void |
setLoadBalancerPort(java.lang.Integer loadBalancerPort)
The external port of the load balancer to associate the policy. |
void |
setPolicyNames(java.util.Collection<java.lang.String> policyNames)
List of policies to be associated with the listener. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SetLoadBalancerPoliciesOfListenerRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer. |
SetLoadBalancerPoliciesOfListenerRequest |
withLoadBalancerPort(java.lang.Integer loadBalancerPort)
The external port of the load balancer to associate the policy. |
SetLoadBalancerPoliciesOfListenerRequest |
withPolicyNames(java.util.Collection<java.lang.String> policyNames)
List of policies to be associated with the listener. |
SetLoadBalancerPoliciesOfListenerRequest |
withPolicyNames(java.lang.String... policyNames)
List of policies to be associated with the listener. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SetLoadBalancerPoliciesOfListenerRequest()
public SetLoadBalancerPoliciesOfListenerRequest(java.lang.String loadBalancerName,
java.lang.Integer loadBalancerPort,
java.util.List<java.lang.String> policyNames)
loadBalancerName - The name of the load balancer.loadBalancerPort - The external port of the load balancer to
associate the policy.policyNames - List of policies to be associated with the
listener. If the list is empty, the current policy is removed from the
listener.| Method Detail |
|---|
public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - The name of the load balancer.public SetLoadBalancerPoliciesOfListenerRequest withLoadBalancerName(java.lang.String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The name of the load balancer.
public java.lang.Integer getLoadBalancerPort()
public void setLoadBalancerPort(java.lang.Integer loadBalancerPort)
loadBalancerPort - The external port of the load balancer to associate the policy.public SetLoadBalancerPoliciesOfListenerRequest withLoadBalancerPort(java.lang.Integer loadBalancerPort)
Returns a reference to this object so that method calls can be chained together.
loadBalancerPort - The external port of the load balancer to associate the policy.
public java.util.List<java.lang.String> getPolicyNames()
public void setPolicyNames(java.util.Collection<java.lang.String> policyNames)
policyNames - List of policies to be associated with the listener. If the list is
empty, the current policy is removed from the listener.public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(java.lang.String... policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - List of policies to be associated with the listener. If the list is
empty, the current policy is removed from the listener.
public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(java.util.Collection<java.lang.String> policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - List of policies to be associated with the listener. If the list is
empty, the current policy is removed from the listener.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||