public ModelSummary withModelQuality(ModelQuality modelQuality) {
        this.modelQuality = modelQuality.toString();
        return this;
    }
<p>
Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the model
quality is poor based on training metrics, the value is <code>POOR_QUALITY_DETECTED</code>. Otherwise, the value
is <code>QUALITY_THRESHOLD_MET</code>.
</p>
<p>
If the model is unlabeled, the model quality can't be assessed and the value of <code>ModelQuality</code> is
<code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality assessment by adding labels
to the input dataset and retraining the model.
</p>
<p>
For information about using labels with your models, see <a
href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html">Understanding
labeling</a>.
</p>
<p>
For information about improving the quality of a model, see <a
href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html">Best practices with Amazon
Lookout for Equipment</a>.
</p>

@param modelQuality
       Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the
       model quality is poor based on training metrics, the value is <code>POOR_QUALITY_DETECTED</code>.
       Otherwise, the value is <code>QUALITY_THRESHOLD_MET</code>.</p>
       <p>
       If the model is unlabeled, the model quality can't be assessed and the value of <code>ModelQuality</code>
       is <code>CANNOT_DETERMINE_QUALITY</code>. In this situation, you can get a model quality assessment by
       adding labels to the input dataset and retraining the model.
       </p>
       <p>
       For information about using labels with your models, see <a
       href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-labeling.html"
       >Understanding labeling</a>.
       </p>
       <p>
       For information about improving the quality of a model, see <a
       href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/best-practices.html">Best practices with
       Amazon Lookout for Equipment</a>.
@return Returns a reference to this object so that method calls can be chained together.
@see ModelQuality
aws-java-sdk-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/ModelSummary.java