@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachInstancesToLoadBalancerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AttachInstancesToLoadBalancerRequest() |
| Modifier and Type | Method and Description |
|---|---|
AttachInstancesToLoadBalancerRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInstanceNames()
An array of strings representing the instance name(s) you want to attach to your load balancer.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setInstanceNames(Collection<String> instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttachInstancesToLoadBalancerRequest |
withInstanceNames(Collection<String> instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
|
AttachInstancesToLoadBalancerRequest |
withInstanceNames(String... instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
|
AttachInstancesToLoadBalancerRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
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 AttachInstancesToLoadBalancerRequest()
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 AttachInstancesToLoadBalancerRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName - The name of the load balancer.public List<String> getInstanceNames()
An array of strings representing the instance name(s) you want to attach to your load balancer.
public void setInstanceNames(Collection<String> instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
instanceNames - An array of strings representing the instance name(s) you want to attach to your load balancer.public AttachInstancesToLoadBalancerRequest withInstanceNames(String... instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceNames(java.util.Collection) or withInstanceNames(java.util.Collection) if you want
to override the existing values.
instanceNames - An array of strings representing the instance name(s) you want to attach to your load balancer.public AttachInstancesToLoadBalancerRequest withInstanceNames(Collection<String> instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
instanceNames - An array of strings representing the instance name(s) you want to attach to your load balancer.public String toString()
toString in class ObjectObject.toString()public AttachInstancesToLoadBalancerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.