public ModelMetadataSummary withDomain(String domain) {
        setDomain(domain);
        return this;
    }
<p>
The machine learning domain of the model.
</p>

@param domain
       The machine learning domain 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/ModelMetadataSummary.java