|
|||||||
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 LoadBalancer. You can associate multiple policies with a listener.
AmazonElasticLoadBalancing.setLoadBalancerPoliciesOfListener(SetLoadBalancerPoliciesOfListenerRequest)
Constructor Summary | |
---|---|
SetLoadBalancerPoliciesOfListenerRequest()
Default constructor for a new SetLoadBalancerPoliciesOfListenerRequest object. |
|
SetLoadBalancerPoliciesOfListenerRequest(String loadBalancerName,
Integer loadBalancerPort,
List<String> policyNames)
Constructs a new SetLoadBalancerPoliciesOfListenerRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getLoadBalancerName()
The name associated with the LoadBalancer. |
Integer |
getLoadBalancerPort()
The external port of the LoadBalancer with which this policy applies to. |
List<String> |
getPolicyNames()
List of policies to be associated with the listener. |
int |
hashCode()
|
void |
setLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. |
void |
setLoadBalancerPort(Integer loadBalancerPort)
The external port of the LoadBalancer with which this policy applies to. |
void |
setPolicyNames(Collection<String> policyNames)
List of policies to be associated with the listener. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SetLoadBalancerPoliciesOfListenerRequest |
withLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. |
SetLoadBalancerPoliciesOfListenerRequest |
withLoadBalancerPort(Integer loadBalancerPort)
The external port of the LoadBalancer with which this policy applies to. |
SetLoadBalancerPoliciesOfListenerRequest |
withPolicyNames(Collection<String> policyNames)
List of policies to be associated with the listener. |
SetLoadBalancerPoliciesOfListenerRequest |
withPolicyNames(String... policyNames)
List of policies to be associated with the listener. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetLoadBalancerPoliciesOfListenerRequest()
public SetLoadBalancerPoliciesOfListenerRequest(String loadBalancerName, Integer loadBalancerPort, List<String> policyNames)
loadBalancerName
- The name associated with the LoadBalancer. The
name must be unique within the client AWS account.loadBalancerPort
- The external port of the LoadBalancer with
which this policy applies to.policyNames
- List of policies to be associated with the
listener. Currently this list can have at most one policy. If the list
is empty, the current policy is removed from the listener.Method Detail |
---|
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique
within the client AWS account.public SetLoadBalancerPoliciesOfListenerRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique
within the client AWS account.
public Integer getLoadBalancerPort()
public void setLoadBalancerPort(Integer loadBalancerPort)
loadBalancerPort
- The external port of the LoadBalancer with which this policy applies
to.public SetLoadBalancerPoliciesOfListenerRequest withLoadBalancerPort(Integer loadBalancerPort)
Returns a reference to this object so that method calls can be chained together.
loadBalancerPort
- The external port of the LoadBalancer with which this policy applies
to.
public List<String> getPolicyNames()
public void setPolicyNames(Collection<String> policyNames)
policyNames
- List of policies to be associated with the listener. Currently this
list can have at most one policy. If the list is empty, the current
policy is removed from the listener.public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(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. Currently this
list can have at most one policy. If the list is empty, the current
policy is removed from the listener.
public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(Collection<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. Currently this
list can have at most one policy. If the list is empty, the current
policy is removed from the listener.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |