public CloudWatchAlarmConfiguration withEvaluationPeriods(Integer evaluationPeriods) {
        setEvaluationPeriods(evaluationPeriods);
        return this;
    }
<p>
For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to
the threshold.
</p>

@param evaluationPeriods
       For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is
       compared to the threshold.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/CloudWatchAlarmConfiguration.java