public DomainDescriptionType withStatus(DomainStatusType status) {
        this.status = status.toString();
        return this;
    }
<p>
The domain status.
</p>

@param status
       The domain status.
@return Returns a reference to this object so that method calls can be chained together.
@see DomainStatusType
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/DomainDescriptionType.java