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