public CreateModelPackageRequest withModelApprovalStatus(String modelApprovalStatus) {
        setModelApprovalStatus(modelApprovalStatus);
        return this;
    }
<p>
Whether the model is approved for deployment.
</p>
<p>
This parameter is optional for versioned models, and does not apply to unversioned models.
</p>
<p>
For versioned models, the value of this parameter must be set to <code>Approved</code> to deploy the model.
</p>

@param modelApprovalStatus
       Whether the model is approved for deployment.</p>
       <p>
       This parameter is optional for versioned models, and does not apply to unversioned models.
       </p>
       <p>
       For versioned models, the value of this parameter must be set to <code>Approved</code> to deploy the
       model.
@return Returns a reference to this object so that method calls can be chained together.
@see ModelApprovalStatus
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateModelPackageRequest.java