public Output<Optional<DeviceTaintRuleSpecPatch>> spec() {
        return Codegen.optional(this.spec);
    }
@return Spec specifies the selector and one taint.

Changing the spec automatically increments the metadata.generation number.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1alpha3/DeviceTaintRulePatch.java