public void setNamespace(String namespace) {
        this.namespace = namespace;
    }
<p>
The namespace of the package to be updated. The package component that specifies its namespace depends on its
type. For example:
</p>
<ul>
<li>
<p>
The namespace of a Maven package version is its <code>groupId</code>.
</p>
</li>
<li>
<p>
The namespace of an npm or Swift package version is its <code>scope</code>.
</p>
</li>
<li>
<p>
The namespace of a generic package is its <code>namespace</code>.
</p>
</li>
<li>
<p>
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of
those formats do not have a namespace.
</p>
</li>
</ul>

@param namespace
       The namespace of the package to be updated. The package component that specifies its namespace depends on
       its type. For example:</p>
       <ul>
       <li>
       <p>
       The namespace of a Maven package version is its <code>groupId</code>.
       </p>
       </li>
       <li>
       <p>
       The namespace of an npm or Swift package version is its <code>scope</code>.
       </p>
       </li>
       <li>
       <p>
       The namespace of a generic package is its <code>namespace</code>.
       </p>
       </li>
       <li>
       <p>
       Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions
       of those formats do not have a namespace.
       </p>
       </li>
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/PutPackageOriginConfigurationRequest.java