@Override
    protected void toString(final StringBuilder sb) {
        super.toString(sb);
        if (node != null) {
            sb.append(", node=");
            sb.append(node.getName());
        }
        if (getVolumeType() != null) {
            sb.append(", volumeType=");
            sb.append(getVolumeType().getDisplayValue());
        }
        if (path != null) {
            sb.append(", path=");
            sb.append(path);
        }
        sb.append(" (");
        if (volumeState != null) {
            volumeState.toString(sb);
        } else {
            sb.append("Unknown volume state");
        }
        sb.append(")");
    }
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