public void setInstanceNames(java.util.Collection<String> instanceNames) {
        if (instanceNames == null) {
            this.instanceNames = null;
            return;
        }

        this.instanceNames = new java.util.ArrayList<String>(instanceNames);
    }
<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.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/DetachInstancesFromLoadBalancerRequest.java