public ChangeProgressStatusDetails withTotalNumberOfStages(Integer totalNumberOfStages) {
        setTotalNumberOfStages(totalNumberOfStages);
        return this;
    }
<p>
The total number of stages required for the configuration change.
</p>

@param totalNumberOfStages
       The total number of stages required for the configuration change.
@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/ChangeProgressStatusDetails.java