public static Volume create(final Node node, final String path, final VolumeType volumeType,
                                final VolumeState volumeState) {
        final Volume volume = new Volume();
        volume.setNode(node);
        volume.setPath(path);
        volume.setVolumeType(volumeType);
        volume.setVolumeState(volumeState);
        return volume;
    }
Utility to create a volume.

@param node       to use
@param path       to use
@param volumeType to use
@return volume
stroom-legacy/stroom-legacy-model_6_1/src/main/java/stroom/legacy/model_6_1/Volume.java