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

        this.subnetIds = new java.util.ArrayList<String>(subnetIds);
    }
<p>
An array of VPC subnet IDs to associate with the workgroup.
</p>

@param subnetIds
       An array of VPC subnet IDs to associate with the workgroup.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/CreateWorkgroupRequest.java