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

com.pulumi.azure.monitoring.kotlin.inputs.AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs.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.monitoring.kotlin.inputs

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

/**
 *
 * @property daysOfMonths Specifies a list of dayOfMonth to recurrence. Possible values are integers between `1` - `31`.
 * @property endTime Specifies the recurrence end time (H:M:S).
 * @property startTime Specifies the recurrence start time (H:M:S).
 */
public data class AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs(
    public val daysOfMonths: Output>,
    public val endTime: Output? = null,
    public val startTime: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs =
        com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs.builder()
            .daysOfMonths(daysOfMonths.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .endTime(endTime?.applyValue({ args0 -> args0 }))
            .startTime(startTime?.applyValue({ args0 -> args0 })).build()
}

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

    private var endTime: Output? = null

    private var startTime: Output? = null

    /**
     * @param value Specifies a list of dayOfMonth to recurrence. Possible values are integers between `1` - `31`.
     */
    @JvmName("nsqwkvbxhqpogcbb")
    public suspend fun daysOfMonths(`value`: Output>) {
        this.daysOfMonths = value
    }

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

    /**
     * @param values Specifies a list of dayOfMonth to recurrence. Possible values are integers between `1` - `31`.
     */
    @JvmName("jtfthetteqtwcdhn")
    public suspend fun daysOfMonths(values: List>) {
        this.daysOfMonths = Output.all(values)
    }

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

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

    /**
     * @param value Specifies a list of dayOfMonth to recurrence. Possible values are integers between `1` - `31`.
     */
    @JvmName("eshuyqvylnjnpijb")
    public suspend fun daysOfMonths(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.daysOfMonths = mapped
    }

    /**
     * @param values Specifies a list of dayOfMonth to recurrence. Possible values are integers between `1` - `31`.
     */
    @JvmName("npkeboxmetnnshwm")
    public suspend fun daysOfMonths(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.daysOfMonths = mapped
    }

    /**
     * @param value Specifies the recurrence end time (H:M:S).
     */
    @JvmName("xwrquguygtdbtkpq")
    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("sllupeyolagyaqlc")
    public suspend fun startTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.startTime = mapped
    }

    internal fun build(): AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs =
        AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs(
            daysOfMonths = daysOfMonths ?: throw PulumiNullFieldException("daysOfMonths"),
            endTime = endTime,
            startTime = startTime,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy