public CreateModelPackageRequest withModelPackageName(String modelPackageName) {
        setModelPackageName(modelPackageName);
        return this;
    }
<p>
The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and -
(hyphen).
</p>
<p>
This parameter is required for unversioned models. It is not applicable to versioned models.
</p>

@param modelPackageName
       The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9,
       and - (hyphen).</p>
       <p>
       This parameter is required for unversioned models. It is not applicable to versioned 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