public CreateDomainResult withDomainStatus(DomainStatus domainStatus) {
        this.domainStatus = domainStatus.toString();
        return this;
    }
<p>
The status of the domain.
</p>

@param domainStatus
       The status of the domain.
@return Returns a reference to this object so that method calls can be chained together.
@see DomainStatus
aws-java-sdk-connectcases/src/main/java/com/amazonaws/services/connectcases/model/CreateDomainResult.java