@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetLoadBalancerPoliciesForBackendServerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for SetLoadBalancerPoliciesForBackendServer.
NOOP| Constructor and Description |
|---|
SetLoadBalancerPoliciesForBackendServerRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetLoadBalancerPoliciesForBackendServerRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstancePort()
The port number associated with the EC2 instance.
|
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 EC2 instance.
|
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.
|
SetLoadBalancerPoliciesForBackendServerRequest |
withInstancePort(Integer instancePort)
The port number associated with the EC2 instance.
|
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.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 EC2 instance.
instancePort - The port number associated with the EC2 instance.public Integer getInstancePort()
The port number associated with the EC2 instance.
public SetLoadBalancerPoliciesForBackendServerRequest withInstancePort(Integer instancePort)
The port number associated with the EC2 instance.
instancePort - The port number associated with the EC2 instance.public List<String> getPolicyNames()
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
public void setPolicyNames(Collection<String> policyNames)
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
policyNames - The names of the policies. If the list is empty, then all current polices are removed from the EC2
instance.public SetLoadBalancerPoliciesForBackendServerRequest withPolicyNames(String... policyNames)
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
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 EC2
instance.public SetLoadBalancerPoliciesForBackendServerRequest withPolicyNames(Collection<String> policyNames)
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
policyNames - The names of the policies. If the list is empty, then all current polices are removed from the EC2
instance.public String toString()
toString in class ObjectObject.toString()public SetLoadBalancerPoliciesForBackendServerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.