public Output<Optional<ValidatingAdmissionPolicySpecPatch>> spec() {
        return Codegen.optional(this.spec);
    }
@return Specification of the desired behavior of the ValidatingAdmissionPolicy.
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.java