public DetachInstancesFromLoadBalancerRequest withInstanceNames(java.util.Collection<String> instanceNames) {
        setInstanceNames(instanceNames);
        return this;
    }
<p>
An array of strings containing the names of the instances you want to detach from the load balancer.
</p>

@param instanceNames
       An array of strings containing the names of the instances you want to detach from the load balancer.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/DetachInstancesFromLoadBalancerRequest.java