public CreateModelPackageRequest withDomain(String domain) {
        setDomain(domain);
        return this;
    }
<p>
The machine learning domain of your model package and its components. Common machine learning domains include
computer vision and natural language processing.
</p>

@param domain
       The machine learning domain of your model package and its components. Common machine learning domains
       include computer vision and natural language processing.
@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