public Optional<CustomResourceSubresourcesPatch> subresources() {
        return Optional.ofNullable(this.subresources);
    }
@return subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive.
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1beta1/outputs/CustomResourceDefinitionSpecPatch.java