public Integer getDatapointsToAlarm() {
        return this.datapointsToAlarm;
    }
<p>
The number of data points that must be breaching to trigger the alarm. This is used only if you are setting an
"M out of N" alarm. In that case, this value is the M. For more information, see <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation"
>Evaluating an Alarm</a> in the <i>Amazon CloudWatch User Guide</i>.
</p>

@return The number of data points that must be breaching to trigger the alarm. This is used only if you are
        setting an "M out of N" alarm. In that case, this value is the M. For more information, see <a href=
        "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation"
        >Evaluating an Alarm</a> in the <i>Amazon CloudWatch User Guide</i>.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/PutMetricAlarmRequest.java