
com.pulumi.azurenative.logic.kotlin.inputs.RecurrenceScheduleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.logic.kotlin.inputs
import com.pulumi.azurenative.logic.inputs.RecurrenceScheduleArgs.builder
import com.pulumi.azurenative.logic.kotlin.enums.DaysOfWeek
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The recurrence schedule.
* @property hours The hours.
* @property minutes The minutes.
* @property monthDays The month days.
* @property monthlyOccurrences The monthly occurrences.
* @property weekDays The days of the week.
*/
public data class RecurrenceScheduleArgs(
public val hours: Output>? = null,
public val minutes: Output>? = null,
public val monthDays: Output>? = null,
public val monthlyOccurrences: Output>? = null,
public val weekDays: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.logic.inputs.RecurrenceScheduleArgs =
com.pulumi.azurenative.logic.inputs.RecurrenceScheduleArgs.builder()
.hours(hours?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.minutes(minutes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.monthDays(monthDays?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.monthlyOccurrences(
monthlyOccurrences?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.weekDays(
weekDays?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [RecurrenceScheduleArgs].
*/
@PulumiTagMarker
public class RecurrenceScheduleArgsBuilder internal constructor() {
private var hours: Output>? = null
private var minutes: Output>? = null
private var monthDays: Output>? = null
private var monthlyOccurrences: Output>? = null
private var weekDays: Output>? = null
/**
* @param value The hours.
*/
@JvmName("hhtikipvismbaeun")
public suspend fun hours(`value`: Output>) {
this.hours = value
}
@JvmName("tjqcvrrriqdmaful")
public suspend fun hours(vararg values: Output) {
this.hours = Output.all(values.asList())
}
/**
* @param values The hours.
*/
@JvmName("vuraxhltkuyaxjox")
public suspend fun hours(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy