public java.util.List<EvaluationModeConfiguration> getEvaluationModes() {
        if (evaluationModes == null) {
            evaluationModes = new com.amazonaws.internal.SdkInternalList<EvaluationModeConfiguration>();
        }
        return 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>

@return 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