public CloudWatchAlarmDefinition withEvaluationPeriods(Integer evaluationPeriods) {
        setEvaluationPeriods(evaluationPeriods);
        return this;
    }
<p>
The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm
triggers automatic scaling activity. The default value is <code>1</code>.
</p>

@param evaluationPeriods
       The number of periods, in five-minute increments, during which the alarm condition must exist before the
       alarm triggers automatic scaling activity. The default value is <code>1</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/CloudWatchAlarmDefinition.java