DetectorModelSetTimerArgs

data class DetectorModelSetTimerArgs(val durationExpression: Output<String>? = null, val seconds: Output<Int>? = null, val timerName: Output<String>) : ConvertibleToJava<DetectorModelSetTimerArgs>

Information needed to set the timer.

Constructors

Link copied to clipboard
constructor(durationExpression: Output<String>? = null, seconds: Output<Int>? = null, timerName: Output<String>)

Properties

Link copied to clipboard
val durationExpression: Output<String>? = null

The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (`$variable.<variable-name>`), and input values (`$input.<input-name>.<path-to-datum>`) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.

Link copied to clipboard
val seconds: Output<Int>? = null

The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.

Link copied to clipboard
val timerName: Output<String>

The name of the timer.

Functions

Link copied to clipboard
open override fun toJava(): DetectorModelSetTimerArgs