public ModelPackage withModelPackageStatus(ModelPackageStatus modelPackageStatus) {
        this.modelPackageStatus = modelPackageStatus.toString();
        return this;
    }
<p>
The status of the model package. This can be one of the following values.
</p>
<ul>
<li>
<p>
<code>PENDING</code> - The model package is pending being created.
</p>
</li>
<li>
<p>
<code>IN_PROGRESS</code> - The model package is in the process of being created.
</p>
</li>
<li>
<p>
<code>COMPLETED</code> - The model package was successfully created.
</p>
</li>
<li>
<p>
<code>FAILED</code> - The model package failed.
</p>
</li>
<li>
<p>
<code>DELETING</code> - The model package is in the process of being deleted.
</p>
</li>
</ul>

@param modelPackageStatus
       The status of the model package. This can be one of the following values.</p>
       <ul>
       <li>
       <p>
       <code>PENDING</code> - The model package is pending being created.
       </p>
       </li>
       <li>
       <p>
       <code>IN_PROGRESS</code> - The model package is in the process of being created.
       </p>
       </li>
       <li>
       <p>
       <code>COMPLETED</code> - The model package was successfully created.
       </p>
       </li>
       <li>
       <p>
       <code>FAILED</code> - The model package failed.
       </p>
       </li>
       <li>
       <p>
       <code>DELETING</code> - The model package is in the process of being deleted.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ModelPackageStatus
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ModelPackage.java