public Optional<Output<String>> device() {
        return Optional.ofNullable(this.device);
    }
@return If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.

Setting also driver and pool may be required to avoid ambiguity, but is not required.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1alpha3/inputs/DeviceTaintSelectorPatchArgs.java