public ModelPackage withModelPackageName(String modelPackageName) {
        setModelPackageName(modelPackageName);
        return this;
    }
<p>
The name of the model.
</p>

@param modelPackageName
       The name of the model.
@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/ModelPackage.java