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

com.pulumi.azure.monitoring.kotlin.inputs.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.monitoring.kotlin.inputs

import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs.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.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property daysOfWeeks Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
 * @property endTime Specifies the recurrence end time (H:M:S).
 * @property startTime Specifies the recurrence start time (H:M:S).
 */
public data class AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs(
    public val daysOfWeeks: Output>,
    public val endTime: Output? = null,
    public val startTime: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs =
        com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs.builder()
            .daysOfWeeks(daysOfWeeks.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .endTime(endTime?.applyValue({ args0 -> args0 }))
            .startTime(startTime?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs].
 */
@PulumiTagMarker
public class AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgsBuilder internal
constructor() {
    private var daysOfWeeks: Output>? = null

    private var endTime: Output? = null

    private var startTime: Output? = null

    /**
     * @param value Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
     */
    @JvmName("eutfbxrodcfalibg")
    public suspend fun daysOfWeeks(`value`: Output>) {
        this.daysOfWeeks = value
    }

    @JvmName("akgcumfmxghrvtjo")
    public suspend fun daysOfWeeks(vararg values: Output) {
        this.daysOfWeeks = Output.all(values.asList())
    }

    /**
     * @param values Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
     */
    @JvmName("exdhxyprkvhhrewk")
    public suspend fun daysOfWeeks(values: List>) {
        this.daysOfWeeks = Output.all(values)
    }

    /**
     * @param value Specifies the recurrence end time (H:M:S).
     */
    @JvmName("opbwccylhexchows")
    public suspend fun endTime(`value`: Output) {
        this.endTime = value
    }

    /**
     * @param value Specifies the recurrence start time (H:M:S).
     */
    @JvmName("jhydsxuvbrdjxbdg")
    public suspend fun startTime(`value`: Output) {
        this.startTime = value
    }

    /**
     * @param value Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
     */
    @JvmName("byagswfebnqswggt")
    public suspend fun daysOfWeeks(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.daysOfWeeks = mapped
    }

    /**
     * @param values Specifies a list of dayOfWeek to recurrence. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, and `Saturday`.
     */
    @JvmName("gvludodqlwcpxclx")
    public suspend fun daysOfWeeks(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.daysOfWeeks = mapped
    }

    /**
     * @param value Specifies the recurrence end time (H:M:S).
     */
    @JvmName("qmitwrxvbisjeiro")
    public suspend fun endTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endTime = mapped
    }

    /**
     * @param value Specifies the recurrence start time (H:M:S).
     */
    @JvmName("xtvfhoaqixvislnj")
    public suspend fun startTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.startTime = mapped
    }

    internal fun build(): AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs =
        AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs(
            daysOfWeeks = daysOfWeeks ?: throw PulumiNullFieldException("daysOfWeeks"),
            endTime = endTime,
            startTime = startTime,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy