public CreateModelPackageRequest withModelMetrics(ModelMetrics modelMetrics) {
        setModelMetrics(modelMetrics);
        return this;
    }
<p>
A structure that contains model metrics reports.
</p>

@param modelMetrics
       A structure that contains model metrics reports.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateModelPackageRequest.java