public DatasetGroup withDomain(String domain) {
        setDomain(domain);
        return this;
    }
<p>
The domain of a Domain dataset group.
</p>

@param domain
       The domain of a Domain dataset group.
@return Returns a reference to this object so that method calls can be chained together.
@see Domain
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/DatasetGroup.java