![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.workloads.kotlin.inputs.WeeklyScheduleArgs.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.workloads.kotlin.inputs
import com.pulumi.azurenative.workloads.inputs.WeeklyScheduleArgs.builder
import com.pulumi.azurenative.workloads.kotlin.enums.DayOfWeek
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Weekly schedule.
* @property scheduleRunDays Schedule run days.
* @property scheduleRunTimes List of times of day this schedule has to be run.
*/
public data class WeeklyScheduleArgs(
public val scheduleRunDays: Output>? = null,
public val scheduleRunTimes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.workloads.inputs.WeeklyScheduleArgs =
com.pulumi.azurenative.workloads.inputs.WeeklyScheduleArgs.builder()
.scheduleRunDays(
scheduleRunDays?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.scheduleRunTimes(scheduleRunTimes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WeeklyScheduleArgs].
*/
@PulumiTagMarker
public class WeeklyScheduleArgsBuilder internal constructor() {
private var scheduleRunDays: Output>? = null
private var scheduleRunTimes: Output>? = null
/**
* @param value Schedule run days.
*/
@JvmName("mnvjktmcckekcnbl")
public suspend fun scheduleRunDays(`value`: Output>) {
this.scheduleRunDays = value
}
@JvmName("fyepoyswqflmvwrs")
public suspend fun scheduleRunDays(vararg values: Output) {
this.scheduleRunDays = Output.all(values.asList())
}
/**
* @param values Schedule run days.
*/
@JvmName("fbfjklhibdywbrwm")
public suspend fun scheduleRunDays(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy