public UpdatePackageRequest withDefaultVersionName(String defaultVersionName) {
        setDefaultVersionName(defaultVersionName);
        return this;
    }
<p>
The name of the default package version.
</p>
<p>
<b>Note:</b> You cannot name a <code>defaultVersion</code> and set <code>unsetDefaultVersion</code> equal to
<code>true</code> at the same time.
</p>

@param defaultVersionName
       The name of the default package version.</p>
       <p>
       <b>Note:</b> You cannot name a <code>defaultVersion</code> and set <code>unsetDefaultVersion</code> equal
       to <code>true</code> at the same time.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/UpdatePackageRequest.java