public DomainStatus withDomainId(String domainId) {
        setDomainId(domainId);
        return this;
    }
<p>
Unique identifier for the domain.
</p>

@param domainId
       Unique identifier for the domain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/DomainStatus.java