public DomainSummary withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
A string that contains the status of the domain.
</p>

@param status
       A string that contains 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-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/DomainSummary.java