public EvaluationModeConfiguration withMode(EvaluationMode mode) {
        this.mode = mode.toString();
        return this;
    }
<p>
The mode of an evaluation. The valid values are Detective or Proactive.
</p>

@param mode
       The mode of an evaluation. The valid values are Detective or Proactive.
@return Returns a reference to this object so that method calls can be chained together.
@see EvaluationMode
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/EvaluationModeConfiguration.java