public DomainDetail withDomainInfo(DomainInfo domainInfo) {
        setDomainInfo(domainInfo);
        return this;
    }
<p>
The basic information about a domain, such as its name, status, and description.
</p>

@param domainInfo
       The basic information about a domain, such as its name, status, and description.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/DomainDetail.java