public Integer getDurationSeconds() {
        return this.durationSeconds;
    }
<p>
Use this to specify the time duration over which the behavior is evaluated, for those criteria that have a time
dimension (for example, <code>NUM_MESSAGES_SENT</code>). For a <code>statisticalThreshhold</code> metric
comparison, measurements from all devices are accumulated over this time duration before being used to calculate
percentiles, and later, measurements from an individual device are also accumulated over this time duration
before being given a percentile rank. Cannot be used with list-based metric datatypes.
</p>

@return Use this to specify the time duration over which the behavior is evaluated, for those criteria that have
        a time dimension (for example, <code>NUM_MESSAGES_SENT</code>). For a <code>statisticalThreshhold</code>
        metric comparison, measurements from all devices are accumulated over this time duration before being
        used to calculate percentiles, and later, measurements from an individual device are also accumulated
        over this time duration before being given a percentile rank. Cannot be used with list-based metric
        datatypes.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/BehaviorCriteria.java