public Optional<Output<String>> namespace() {
        return Optional.ofNullable(this.namespace);
    }
@return If present, the default namespace to use. This flag is ignored for cluster-scoped resources.

A namespace can be specified in multiple places, and the precedence is as follows:
1. `.metadata.namespace` set on the resource.
2. This `namespace` parameter.
3. `namespace` set for the active context in the kubeconfig.
sdk/java/src/main/java/com/pulumi/kubernetes/ProviderArgs.java