public ListPackageVersionsResult withDefaultDisplayVersion(String defaultDisplayVersion) {
        setDefaultDisplayVersion(defaultDisplayVersion);
        return this;
    }
<p>
The default package version to display. This depends on the package format:
</p>
<ul>
<li>
<p>
For Maven and PyPI packages, it's the most recently published package version.
</p>
</li>
<li>
<p>
For npm packages, it's the version referenced by the <code>latest</code> tag. If the <code>latest</code> tag is
not set, it's the most recently published package version.
</p>
</li>
</ul>

@param defaultDisplayVersion
       The default package version to display. This depends on the package format: </p>
       <ul>
       <li>
       <p>
       For Maven and PyPI packages, it's the most recently published package version.
       </p>
       </li>
       <li>
       <p>
       For npm packages, it's the version referenced by the <code>latest</code> tag. If the <code>latest</code>
       tag is not set, it's the most recently published package version.
       </p>
       </li>
@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/ListPackageVersionsResult.java