public class SetLoadBalancerPoliciesForBackendServerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetLoadBalancerPoliciesForBackendServerRequest() |
Modifier and Type | Method and Description |
---|---|
SetLoadBalancerPoliciesForBackendServerRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getInstancePort()
The port number associated with the back-end server.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
List<String> |
getPolicyNames()
The names of the policies.
|
int |
hashCode() |
void |
setInstancePort(Integer instancePort)
The port number associated with the back-end server.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyNames(Collection<String> policyNames)
The names of the policies.
|
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 name of the load balancer.
|
SetLoadBalancerPoliciesForBackendServerRequest |
withPolicyNames(Collection<String> policyNames)
The names of the policies.
|
SetLoadBalancerPoliciesForBackendServerRequest |
withPolicyNames(String... policyNames)
The names of the policies.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public SetLoadBalancerPoliciesForBackendServerRequest()
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public SetLoadBalancerPoliciesForBackendServerRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setInstancePort(Integer instancePort)
The port number associated with the back-end server.
instancePort
- The port number associated with the back-end server.public Integer getInstancePort()
The port number associated with the back-end server.
public SetLoadBalancerPoliciesForBackendServerRequest withInstancePort(Integer instancePort)
The port number associated with the back-end server.
instancePort
- The port number associated with the back-end server.public List<String> getPolicyNames()
The names of the policies. If the list is empty, then all current polices are removed from the back-end server.
public void setPolicyNames(Collection<String> policyNames)
The names of the policies. If the list is empty, then all current polices are removed from the back-end server.
policyNames
- The names of the policies. If the list is empty, then all current
polices are removed from the back-end server.public SetLoadBalancerPoliciesForBackendServerRequest withPolicyNames(String... policyNames)
The names of the policies. If the list is empty, then all current polices are removed from the back-end server.
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 names of the policies. If the list is empty, then all current
polices are removed from the back-end server.public SetLoadBalancerPoliciesForBackendServerRequest withPolicyNames(Collection<String> policyNames)
The names of the policies. If the list is empty, then all current polices are removed from the back-end server.
policyNames
- The names of the policies. 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()
public SetLoadBalancerPoliciesForBackendServerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.