public VolumeDeviceArgs build() {
            if ($.devicePath == null) {
                throw new MissingRequiredPropertyException("VolumeDeviceArgs", "devicePath");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("VolumeDeviceArgs", "name");
            }
            return $;
        }
@param name name must match the name of a persistentVolumeClaim in the pod

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/VolumeDeviceArgs.java