
com.pulumi.azurenative.scheduler.kotlin.inputs.JobRecurrenceScheduleMonthlyOccurrenceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.scheduler.kotlin.inputs
import com.pulumi.azurenative.scheduler.inputs.JobRecurrenceScheduleMonthlyOccurrenceArgs.builder
import com.pulumi.azurenative.scheduler.kotlin.enums.JobScheduleDay
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property day Gets or sets the day. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
* @property occurrence Gets or sets the occurrence. Must be between -5 and 5.
*/
public data class JobRecurrenceScheduleMonthlyOccurrenceArgs(
public val day: Output? = null,
public val occurrence: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.scheduler.inputs.JobRecurrenceScheduleMonthlyOccurrenceArgs =
com.pulumi.azurenative.scheduler.inputs.JobRecurrenceScheduleMonthlyOccurrenceArgs.builder()
.day(day?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.occurrence(occurrence?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobRecurrenceScheduleMonthlyOccurrenceArgs].
*/
@PulumiTagMarker
public class JobRecurrenceScheduleMonthlyOccurrenceArgsBuilder internal constructor() {
private var day: Output? = null
private var occurrence: Output? = null
/**
* @param value Gets or sets the day. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
*/
@JvmName("jfvneqoeiociyemh")
public suspend fun day(`value`: Output) {
this.day = value
}
/**
* @param value Gets or sets the occurrence. Must be between -5 and 5.
*/
@JvmName("frnwvrhtcfrypenq")
public suspend fun occurrence(`value`: Output) {
this.occurrence = value
}
/**
* @param value Gets or sets the day. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
*/
@JvmName("otguklxxcfrmsocp")
public suspend fun day(`value`: JobScheduleDay?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.day = mapped
}
/**
* @param value Gets or sets the occurrence. Must be between -5 and 5.
*/
@JvmName("ktwlmkkobapwiupw")
public suspend fun occurrence(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.occurrence = mapped
}
internal fun build(): JobRecurrenceScheduleMonthlyOccurrenceArgs =
JobRecurrenceScheduleMonthlyOccurrenceArgs(
day = day,
occurrence = occurrence,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy