
com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatasetScheduleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotanalytics.kotlin.inputs
import com.pulumi.awsnative.iotanalytics.inputs.DatasetScheduleArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property scheduleExpression The expression that defines when to trigger an update. For more information, see [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html) in the Amazon CloudWatch documentation.
*/
public data class DatasetScheduleArgs(
public val scheduleExpression: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.DatasetScheduleArgs =
com.pulumi.awsnative.iotanalytics.inputs.DatasetScheduleArgs.builder()
.scheduleExpression(scheduleExpression.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetScheduleArgs].
*/
@PulumiTagMarker
public class DatasetScheduleArgsBuilder internal constructor() {
private var scheduleExpression: Output? = null
/**
* @param value The expression that defines when to trigger an update. For more information, see [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html) in the Amazon CloudWatch documentation.
*/
@JvmName("yifjuwnvfkfbvihf")
public suspend fun scheduleExpression(`value`: Output) {
this.scheduleExpression = value
}
/**
* @param value The expression that defines when to trigger an update. For more information, see [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html) in the Amazon CloudWatch documentation.
*/
@JvmName("maenmnikkopsaodb")
public suspend fun scheduleExpression(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.scheduleExpression = mapped
}
internal fun build(): DatasetScheduleArgs = DatasetScheduleArgs(
scheduleExpression = scheduleExpression ?: throw PulumiNullFieldException("scheduleExpression"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy