public Optional<Boolean> deprecated() {
        return Optional.ofNullable(this.deprecated);
    }
@return 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.
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1beta1/outputs/CustomResourceDefinitionVersion.java