public void setEvaluationModes(java.util.Collection<EvaluationModeConfiguration> evaluationModes) {
        if (evaluationModes == null) {
            this.evaluationModes = null;
            return;
        }

        this.evaluationModes = new com.amazonaws.internal.SdkInternalList<EvaluationModeConfiguration>(evaluationModes);
    }
<p>
The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the value is
Detective evaluation mode only.
</p>

@param evaluationModes
       The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the
       value is Detective evaluation mode only.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/ConfigRule.java