@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachInstancesFromLoadBalancerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DetachInstancesFromLoadBalancerRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetachInstancesFromLoadBalancerRequest |
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 containing the names of the instances you want to detach from the load balancer.
|
String |
getLoadBalancerName()
The name of the Lightsail load balancer.
|
int |
hashCode() |
void |
setInstanceNames(Collection<String> instanceNames)
An array of strings containing the names of the instances you want to detach from the load balancer.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the Lightsail load balancer.
|
String |
toString()
Returns a string representation of this object.
|
DetachInstancesFromLoadBalancerRequest |
withInstanceNames(Collection<String> instanceNames)
An array of strings containing the names of the instances you want to detach from the load balancer.
|
DetachInstancesFromLoadBalancerRequest |
withInstanceNames(String... instanceNames)
An array of strings containing the names of the instances you want to detach from the load balancer.
|
DetachInstancesFromLoadBalancerRequest |
withLoadBalancerName(String loadBalancerName)
The name of the Lightsail 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 DetachInstancesFromLoadBalancerRequest()
public void setLoadBalancerName(String loadBalancerName)
The name of the Lightsail load balancer.
loadBalancerName - The name of the Lightsail load balancer.public String getLoadBalancerName()
The name of the Lightsail load balancer.
public DetachInstancesFromLoadBalancerRequest withLoadBalancerName(String loadBalancerName)
The name of the Lightsail load balancer.
loadBalancerName - The name of the Lightsail load balancer.public List<String> getInstanceNames()
An array of strings containing the names of the instances you want to detach from the load balancer.
public void setInstanceNames(Collection<String> instanceNames)
An array of strings containing the names of the instances you want to detach from the load balancer.
instanceNames - An array of strings containing the names of the instances you want to detach from the load balancer.public DetachInstancesFromLoadBalancerRequest withInstanceNames(String... instanceNames)
An array of strings containing the names of the instances you want to detach from the 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 containing the names of the instances you want to detach from the load balancer.public DetachInstancesFromLoadBalancerRequest withInstanceNames(Collection<String> instanceNames)
An array of strings containing the names of the instances you want to detach from the load balancer.
instanceNames - An array of strings containing the names of the instances you want to detach from the load balancer.public String toString()
toString in class ObjectObject.toString()public DetachInstancesFromLoadBalancerRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()