@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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, 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.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
public void setInstanceNames(Collection<String> instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
instanceNames - An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
public AttachInstancesToLoadBalancerRequest withInstanceNames(String... instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
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.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
public AttachInstancesToLoadBalancerRequest withInstanceNames(Collection<String> instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
instanceNames - An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
public String toString()
toString in class ObjectObject.toString()public AttachInstancesToLoadBalancerRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()