public Output<Optional<CustomResourceDefinitionSpecPatch>> spec() {
        return Codegen.optional(this.spec);
    }
@return spec describes how the user wants the resources to appear
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.java