public AutoTuneOptions withDesiredState(String desiredState) {
        setDesiredState(desiredState);
        return this;
    }
<p>
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
</p>

@param desiredState
       Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
@return Returns a reference to this object so that method calls can be chained together.
@see AutoTuneDesiredState
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/AutoTuneOptions.java