public CreateModelPackageRequest withModelPackageGroupName(String modelPackageGroupName) {
        setModelPackageGroupName(modelPackageGroupName);
        return this;
    }
<p>
The name or Amazon Resource Name (ARN) of the model package group that this model version belongs to.
</p>
<p>
This parameter is required for versioned models, and does not apply to unversioned models.
</p>

@param modelPackageGroupName
       The name or Amazon Resource Name (ARN) of the model package group that this model version belongs to.</p>
       <p>
       This parameter is required for versioned models, and does not apply to unversioned models.
@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