public Builder namespace(@Nullable Output<String> namespace) {
            $.namespace = namespace;
            return this;
        }
@param namespace Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace&#39;s owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/TypedObjectReferencePatchArgs.java