![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datafactory.kotlin.inputs.ScheduleTriggerRecurrenceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.ScheduleTriggerRecurrenceArgs.builder
import com.pulumi.azurenative.datafactory.kotlin.enums.RecurrenceFrequency
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The workflow trigger recurrence.
* @property endTime The end time.
* @property frequency The frequency.
* @property interval The interval.
* @property schedule The recurrence schedule.
* @property startTime The start time.
* @property timeZone The time zone.
*/
public data class ScheduleTriggerRecurrenceArgs(
public val endTime: Output? = null,
public val frequency: Output>? = null,
public val interval: Output? = null,
public val schedule: Output? = null,
public val startTime: Output? = null,
public val timeZone: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.ScheduleTriggerRecurrenceArgs =
com.pulumi.azurenative.datafactory.inputs.ScheduleTriggerRecurrenceArgs.builder()
.endTime(endTime?.applyValue({ args0 -> args0 }))
.frequency(
frequency?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.interval(interval?.applyValue({ args0 -> args0 }))
.schedule(schedule?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.startTime(startTime?.applyValue({ args0 -> args0 }))
.timeZone(timeZone?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScheduleTriggerRecurrenceArgs].
*/
@PulumiTagMarker
public class ScheduleTriggerRecurrenceArgsBuilder internal constructor() {
private var endTime: Output? = null
private var frequency: Output>? = null
private var interval: Output? = null
private var schedule: Output? = null
private var startTime: Output? = null
private var timeZone: Output? = null
/**
* @param value The end time.
*/
@JvmName("iqynmjmokedvyilu")
public suspend fun endTime(`value`: Output) {
this.endTime = value
}
/**
* @param value The frequency.
*/
@JvmName("yolcflvdhxeshnwu")
public suspend fun frequency(`value`: Output>) {
this.frequency = value
}
/**
* @param value The interval.
*/
@JvmName("hjpmvmlcacxesclv")
public suspend fun interval(`value`: Output) {
this.interval = value
}
/**
* @param value The recurrence schedule.
*/
@JvmName("weobfjnnlkupylfi")
public suspend fun schedule(`value`: Output) {
this.schedule = value
}
/**
* @param value The start time.
*/
@JvmName("trwufsihsohamgii")
public suspend fun startTime(`value`: Output) {
this.startTime = value
}
/**
* @param value The time zone.
*/
@JvmName("ystgxfbqdlfvjycs")
public suspend fun timeZone(`value`: Output) {
this.timeZone = value
}
/**
* @param value The end time.
*/
@JvmName("axsmmosiitjcqefx")
public suspend fun endTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.endTime = mapped
}
/**
* @param value The frequency.
*/
@JvmName("wuesbavpowovxmqp")
public suspend fun frequency(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.frequency = mapped
}
/**
* @param value The frequency.
*/
@JvmName("kdoyujwtwgjkccbo")
public fun frequency(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.frequency = mapped
}
/**
* @param value The frequency.
*/
@JvmName("olubrkahbmlxmdfy")
public fun frequency(`value`: RecurrenceFrequency) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.frequency = mapped
}
/**
* @param value The interval.
*/
@JvmName("jtgrhngsftglujxf")
public suspend fun interval(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.interval = mapped
}
/**
* @param value The recurrence schedule.
*/
@JvmName("dfjflhtsuenhdula")
public suspend fun schedule(`value`: RecurrenceScheduleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schedule = mapped
}
/**
* @param argument The recurrence schedule.
*/
@JvmName("cpnqcfygptgyunep")
public suspend fun schedule(argument: suspend RecurrenceScheduleArgsBuilder.() -> Unit) {
val toBeMapped = RecurrenceScheduleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.schedule = mapped
}
/**
* @param value The start time.
*/
@JvmName("tgvowsgcmfyrcivk")
public suspend fun startTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startTime = mapped
}
/**
* @param value The time zone.
*/
@JvmName("pvqrupsenbxnysth")
public suspend fun timeZone(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeZone = mapped
}
internal fun build(): ScheduleTriggerRecurrenceArgs = ScheduleTriggerRecurrenceArgs(
endTime = endTime,
frequency = frequency,
interval = interval,
schedule = schedule,
startTime = startTime,
timeZone = timeZone,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy