![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatasetDeltaTimeArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotanalytics.kotlin.inputs
import com.pulumi.awsnative.iotanalytics.inputs.DatasetDeltaTimeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property offsetSeconds The number of seconds of estimated in-flight lag time of message data. When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.
* @property timeExpression An expression by which the time of the message data might be determined. This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.
*/
public data class DatasetDeltaTimeArgs(
public val offsetSeconds: Output,
public val timeExpression: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.DatasetDeltaTimeArgs =
com.pulumi.awsnative.iotanalytics.inputs.DatasetDeltaTimeArgs.builder()
.offsetSeconds(offsetSeconds.applyValue({ args0 -> args0 }))
.timeExpression(timeExpression.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetDeltaTimeArgs].
*/
@PulumiTagMarker
public class DatasetDeltaTimeArgsBuilder internal constructor() {
private var offsetSeconds: Output? = null
private var timeExpression: Output? = null
/**
* @param value The number of seconds of estimated in-flight lag time of message data. When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.
*/
@JvmName("cqeundpfeuvxsoog")
public suspend fun offsetSeconds(`value`: Output) {
this.offsetSeconds = value
}
/**
* @param value An expression by which the time of the message data might be determined. This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.
*/
@JvmName("nrogdvhdlqbjwtcn")
public suspend fun timeExpression(`value`: Output) {
this.timeExpression = value
}
/**
* @param value The number of seconds of estimated in-flight lag time of message data. When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.
*/
@JvmName("gvcqbugexvyktrnc")
public suspend fun offsetSeconds(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.offsetSeconds = mapped
}
/**
* @param value An expression by which the time of the message data might be determined. This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.
*/
@JvmName("lwhmjgourbffcgxg")
public suspend fun timeExpression(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.timeExpression = mapped
}
internal fun build(): DatasetDeltaTimeArgs = DatasetDeltaTimeArgs(
offsetSeconds = offsetSeconds ?: throw PulumiNullFieldException("offsetSeconds"),
timeExpression = timeExpression ?: throw PulumiNullFieldException("timeExpression"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy