public class SetLoadBalancerPoliciesForBackendServerRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
SetLoadBalancerPoliciesForBackendServerRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getInstancePort()
The port number associated with the back-end server.
|
String |
getLoadBalancerName()
The mnemonic name associated with the LoadBalancer.
|
List<String> |
getPolicyNames()
List of policy names to be set.
|
int |
hashCode() |
void |
setInstancePort(Integer instancePort)
The port number associated with the back-end server.
|
void |
setLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the LoadBalancer.
|
void |
setPolicyNames(Collection<String> policyNames)
List of policy names to be set.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetLoadBalancerPoliciesForBackendServerRequest |
withInstancePort(Integer instancePort)
The port number associated with the back-end server.
|
SetLoadBalancerPoliciesForBackendServerRequest |
withLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the LoadBalancer.
|
SetLoadBalancerPoliciesForBackendServerRequest |
withPolicyNames(Collection<String> policyNames)
List of policy names to be set.
|
SetLoadBalancerPoliciesForBackendServerRequest |
withPolicyNames(String... policyNames)
List of policy names to be set.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public SetLoadBalancerPoliciesForBackendServerRequest()
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The mnemonic name associated with the LoadBalancer. This name must be
unique within the client AWS account.public SetLoadBalancerPoliciesForBackendServerRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The mnemonic name associated with the LoadBalancer. This name must be
unique within the client AWS account.public Integer getInstancePort()
public void setInstancePort(Integer instancePort)
instancePort
- The port number associated with the back-end server.public SetLoadBalancerPoliciesForBackendServerRequest withInstancePort(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 List<String> getPolicyNames()
public void setPolicyNames(Collection<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(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(Collection<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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.