public Optional<String> scope() {
        return Optional.ofNullable(this.scope);
    }
@return scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1/outputs/CustomResourceDefinitionSpecPatch.java