![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.automation.kotlin.inputs.SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs.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.automation.kotlin.inputs
import com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs.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.jvm.JvmName
/**
*
* @property day Day of the occurrence. Must be one of `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
* @property occurrence Occurrence of the week within the month. Must be between `1` and `5`. `-1` for last week within the month.
*/
public data class SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs(
public val day: Output,
public val occurrence: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs =
com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs.builder()
.day(day.applyValue({ args0 -> args0 }))
.occurrence(occurrence.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs].
*/
@PulumiTagMarker
public class SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgsBuilder internal constructor() {
private var day: Output? = null
private var occurrence: Output? = null
/**
* @param value Day of the occurrence. Must be one of `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
*/
@JvmName("cqdinymcavgvofcm")
public suspend fun day(`value`: Output) {
this.day = value
}
/**
* @param value Occurrence of the week within the month. Must be between `1` and `5`. `-1` for last week within the month.
*/
@JvmName("iirftxeiowdanrbm")
public suspend fun occurrence(`value`: Output) {
this.occurrence = value
}
/**
* @param value Day of the occurrence. Must be one of `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
*/
@JvmName("qrvjukitrkywytbo")
public suspend fun day(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.day = mapped
}
/**
* @param value Occurrence of the week within the month. Must be between `1` and `5`. `-1` for last week within the month.
*/
@JvmName("ymsjmgfuckjilhfa")
public suspend fun occurrence(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.occurrence = mapped
}
internal fun build(): SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs =
SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs(
day = day ?: throw PulumiNullFieldException("day"),
occurrence = occurrence ?: throw PulumiNullFieldException("occurrence"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy