public RegisterPackageVersionRequest withMarkLatest(Boolean markLatest) {
        setMarkLatest(markLatest);
        return this;
    }
<p>
Whether to mark the new version as the latest version.
</p>

@param markLatest
       Whether to mark the new version as the latest version.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-panorama/src/main/java/com/amazonaws/services/panorama/model/RegisterPackageVersionRequest.java