![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.lab.kotlin.inputs.ScheduleRecurrenceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.lab.kotlin.inputs
import com.pulumi.azure.lab.inputs.ScheduleRecurrenceArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property expirationDate When the recurrence will expire in RFC-3339 format.
* @property frequency The frequency of the recurrence. Possible values are `Daily` and `Weekly`.
* @property interval The interval to invoke the schedule on. Possible values are between `1` and `365`.
* @property weekDays The interval to invoke the schedule on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
*/
public data class ScheduleRecurrenceArgs(
public val expirationDate: Output,
public val frequency: Output,
public val interval: Output? = null,
public val weekDays: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.lab.inputs.ScheduleRecurrenceArgs =
com.pulumi.azure.lab.inputs.ScheduleRecurrenceArgs.builder()
.expirationDate(expirationDate.applyValue({ args0 -> args0 }))
.frequency(frequency.applyValue({ args0 -> args0 }))
.interval(interval?.applyValue({ args0 -> args0 }))
.weekDays(weekDays?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ScheduleRecurrenceArgs].
*/
@PulumiTagMarker
public class ScheduleRecurrenceArgsBuilder internal constructor() {
private var expirationDate: Output? = null
private var frequency: Output? = null
private var interval: Output? = null
private var weekDays: Output>? = null
/**
* @param value When the recurrence will expire in RFC-3339 format.
*/
@JvmName("bxwgsnbwsaslhfjc")
public suspend fun expirationDate(`value`: Output) {
this.expirationDate = value
}
/**
* @param value The frequency of the recurrence. Possible values are `Daily` and `Weekly`.
*/
@JvmName("qhddslwuvttxmhwn")
public suspend fun frequency(`value`: Output) {
this.frequency = value
}
/**
* @param value The interval to invoke the schedule on. Possible values are between `1` and `365`.
*/
@JvmName("foqymjturydklhgh")
public suspend fun interval(`value`: Output) {
this.interval = value
}
/**
* @param value The interval to invoke the schedule on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
*/
@JvmName("rxdhgpinitedaocb")
public suspend fun weekDays(`value`: Output>) {
this.weekDays = value
}
@JvmName("gxyebtmmcnfssbcx")
public suspend fun weekDays(vararg values: Output) {
this.weekDays = Output.all(values.asList())
}
/**
* @param values The interval to invoke the schedule on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
*/
@JvmName("ywhrngqjdwbjwirt")
public suspend fun weekDays(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy