
com.pulumi.azurenative.alertsmanagement.kotlin.inputs.MonthlyRecurrenceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.alertsmanagement.kotlin.inputs
import com.pulumi.azurenative.alertsmanagement.inputs.MonthlyRecurrenceArgs.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
/**
* Monthly recurrence object.
* @property daysOfMonth Specifies the values for monthly recurrence pattern.
* @property endTime End time for recurrence.
* @property recurrenceType Specifies when the recurrence should be applied.
* Expected value is 'Monthly'.
* @property startTime Start time for recurrence.
*/
public data class MonthlyRecurrenceArgs(
public val daysOfMonth: Output>,
public val endTime: Output? = null,
public val recurrenceType: Output,
public val startTime: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.alertsmanagement.inputs.MonthlyRecurrenceArgs =
com.pulumi.azurenative.alertsmanagement.inputs.MonthlyRecurrenceArgs.builder()
.daysOfMonth(daysOfMonth.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.endTime(endTime?.applyValue({ args0 -> args0 }))
.recurrenceType(recurrenceType.applyValue({ args0 -> args0 }))
.startTime(startTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MonthlyRecurrenceArgs].
*/
@PulumiTagMarker
public class MonthlyRecurrenceArgsBuilder internal constructor() {
private var daysOfMonth: Output>? = null
private var endTime: Output? = null
private var recurrenceType: Output? = null
private var startTime: Output? = null
/**
* @param value Specifies the values for monthly recurrence pattern.
*/
@JvmName("fsfmcatpawdwkerg")
public suspend fun daysOfMonth(`value`: Output>) {
this.daysOfMonth = value
}
@JvmName("asqsaobohxlxecqv")
public suspend fun daysOfMonth(vararg values: Output) {
this.daysOfMonth = Output.all(values.asList())
}
/**
* @param values Specifies the values for monthly recurrence pattern.
*/
@JvmName("cvlvsajrowbkcjxb")
public suspend fun daysOfMonth(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy