public ElasticsearchDomainStatus withDeleted(Boolean deleted) {
        setDeleted(deleted);
        return this;
    }
<p>
The domain deletion status. <code>True</code> if a delete request has been received for the domain but resource
cleanup is still in progress. <code>False</code> if the domain has not been deleted. Once domain deletion is
complete, the status of the domain is no longer returned.
</p>

@param deleted
       The domain deletion status. <code>True</code> if a delete request has been received for the domain but
       resource cleanup is still in progress. <code>False</code> if the domain has not been deleted. Once domain
       deletion is complete, the status of the domain is no longer returned.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/ElasticsearchDomainStatus.java