public Builder deprecated(@Nullable Output<Boolean> deprecated) {
            $.deprecated = deprecated;
            return this;
        }
@param deprecated deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1/inputs/CustomResourceDefinitionVersionPatchArgs.java