public Optional<Output<CustomResourceDefinitionSpecPatchArgs>> spec() {
        return Optional.ofNullable(this.spec);
    }
@return spec describes how the user wants the resources to appear
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatchArgs.java