public ChangeProgressStatusDetails withStatus(OverallChangeStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The overall status of the domain configuration change. This field can take the following values:
<code>PENDING</code>, <code>PROCESSING</code>, <code>COMPLETED</code> and <code>FAILED</code>
</p>

@param status
       The overall status of the domain configuration change. This field can take the following values:
       <code>PENDING</code>, <code>PROCESSING</code>, <code>COMPLETED</code> and <code>FAILED</code>
@return Returns a reference to this object so that method calls can be chained together.
@see OverallChangeStatus
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/ChangeProgressStatusDetails.java