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

        this.instanceNames = new java.util.ArrayList<String>(instanceNames);
    }
<p>
The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for
example: <code>["MyFirstInstance","MySecondInstance"]</code>
</p>

@param instanceNames
       The names to use for your new Lightsail instances. Separate multiple values using quotation marks and
       commas, for example: <code>["MyFirstInstance","MySecondInstance"]</code>
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CreateInstancesRequest.java