All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.automation.kotlin.inputs.SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@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