public Optional<String> namespace() {
        return Optional.ofNullable(this.namespace);
    }
@return namespace is the namespace of the resource being referenced. This field is required when scope is set to &#34;Namespace&#34; and must be unset when scope is set to &#34;Cluster&#34;.
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1/outputs/IngressClassParametersReferencePatch.java