public Integer getConsecutiveDatapointsToAlarm() {
        return this.consecutiveDatapointsToAlarm;
    }
<p>
If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs.
If not specified, the default is 1.
</p>

@return If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm
        occurs. If not specified, the default is 1.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/BehaviorCriteria.java