|
|||||||
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.SetLoadBalancerPoliciesForBackendServerRequest
public class SetLoadBalancerPoliciesForBackendServerRequest
Container for the parameters to the SetLoadBalancerPoliciesForBackendServer operation
.
Replaces the current set of policies associated with a port on which the back-end server is listening with a new set of policies. After the policies have been created using CreateLoadBalancerPolicy, they can be applied here as a list. At this time, only the back-end server authentication policy type can be applied to the back-end ports; this policy type is composed of multiple public key policies.
NOTE: The SetLoadBalancerPoliciesForBackendServer replaces the current set of policies associated with the specified instance port. Every time you use this action to enable the policies, use the PolicyNames parameter to list all the policies you want to enable.
You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies action to verify that the policy has been associated with the back-end server.
AmazonElasticLoadBalancing.setLoadBalancerPoliciesForBackendServer(SetLoadBalancerPoliciesForBackendServerRequest)
,
Serialized FormConstructor Summary | |
---|---|
SetLoadBalancerPoliciesForBackendServerRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getInstancePort()
The port number associated with the back-end server. |
java.lang.String |
getLoadBalancerName()
The mnemonic name associated with the load balancer. |
java.util.List<java.lang.String> |
getPolicyNames()
List of policy names to be set. |
int |
hashCode()
|
void |
setInstancePort(java.lang.Integer instancePort)
The port number associated with the back-end server. |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer. |
void |
setPolicyNames(java.util.Collection<java.lang.String> policyNames)
List of policy names to be set. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SetLoadBalancerPoliciesForBackendServerRequest |
withInstancePort(java.lang.Integer instancePort)
The port number associated with the back-end server. |
SetLoadBalancerPoliciesForBackendServerRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The mnemonic name associated with the load balancer. |
SetLoadBalancerPoliciesForBackendServerRequest |
withPolicyNames(java.util.Collection<java.lang.String> policyNames)
List of policy names to be set. |
SetLoadBalancerPoliciesForBackendServerRequest |
withPolicyNames(java.lang.String... policyNames)
List of policy names to be set. |
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 SetLoadBalancerPoliciesForBackendServerRequest()
Method Detail |
---|
public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName
- The mnemonic name associated with the load balancer. This name must be
unique within the set of your load balancers.public SetLoadBalancerPoliciesForBackendServerRequest withLoadBalancerName(java.lang.String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The mnemonic name associated with the load balancer. This name must be
unique within the set of your load balancers.
public java.lang.Integer getInstancePort()
public void setInstancePort(java.lang.Integer instancePort)
instancePort
- The port number associated with the back-end server.public SetLoadBalancerPoliciesForBackendServerRequest withInstancePort(java.lang.Integer instancePort)
Returns a reference to this object so that method calls can be chained together.
instancePort
- The port number associated with the back-end server.
public java.util.List<java.lang.String> getPolicyNames()
public void setPolicyNames(java.util.Collection<java.lang.String> policyNames)
policyNames
- List of policy names to be set. If the list is empty, then all current
polices are removed from the back-end server.public SetLoadBalancerPoliciesForBackendServerRequest withPolicyNames(java.lang.String... policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames
- List of policy names to be set. If the list is empty, then all current
polices are removed from the back-end server.
public SetLoadBalancerPoliciesForBackendServerRequest 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 policy names to be set. If the list is empty, then all current
polices are removed from the back-end server.
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |