public PublishPackageVersionRequest withAssetName(String assetName) {
        setAssetName(assetName);
        return this;
    }
<p>
The name of the asset to publish. Asset names can include Unicode letters and numbers, and the following special
characters: <code>~ ! @ ^ &amp; ( ) - ` _ + [ ] { } ; , . `</code>
</p>

@param assetName
       The name of the asset to publish. Asset names can include Unicode letters and numbers, and the following
       special characters: <code>~ ! @ ^ &amp; ( ) - ` _ + [ ] { } ; , . `</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/PublishPackageVersionRequest.java