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

com.pulumi.azure.logicapps.kotlin.inputs.IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleArgs.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.logicapps.kotlin.inputs

import com.pulumi.azure.logicapps.inputs.IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleArgs.builder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property hours A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered.
 * @property minutes A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.
 * @property monthDays A list of days of the month that the job should execute on.
 * @property monthlies A `monthly` block as documented below.
 * @property weekDays A list of days of the week that the job should execute on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
 */
public data class IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleArgs(
    public val hours: Output>? = null,
    public val minutes: Output>? = null,
    public val monthDays: Output>? = null,
    public val monthlies: Output>? =
        null,
    public val weekDays: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.logicapps.inputs.IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleArgs =
        com.pulumi.azure.logicapps.inputs.IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleArgs.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 }) }))
            .monthlies(
                monthlies?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .weekDays(weekDays?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var minutes: Output>? = null

    private var monthDays: Output>? = null

    private var monthlies:
        Output>? =
        null

    private var weekDays: Output>? = null

    /**
     * @param value A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered.
     */
    @JvmName("brfjjrjqdhjaghis")
    public suspend fun hours(`value`: Output>) {
        this.hours = value
    }

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

    /**
     * @param values A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered.
     */
    @JvmName("srytnudhflawfcmi")
    public suspend fun hours(values: List>) {
        this.hours = Output.all(values)
    }

    /**
     * @param value A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.
     */
    @JvmName("wenoxwdvctjhokyg")
    public suspend fun minutes(`value`: Output>) {
        this.minutes = value
    }

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

    /**
     * @param values A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.
     */
    @JvmName("pbdjrjywaixcubji")
    public suspend fun minutes(values: List>) {
        this.minutes = Output.all(values)
    }

    /**
     * @param value A list of days of the month that the job should execute on.
     */
    @JvmName("qajxjhrrjpctacco")
    public suspend fun monthDays(`value`: Output>) {
        this.monthDays = value
    }

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

    /**
     * @param values A list of days of the month that the job should execute on.
     */
    @JvmName("hprmweojxynjsatn")
    public suspend fun monthDays(values: List>) {
        this.monthDays = Output.all(values)
    }

    /**
     * @param value A `monthly` block as documented below.
     */
    @JvmName("vqvhagbbvtfoqsrf")
    public suspend fun monthlies(`value`: Output>) {
        this.monthlies = value
    }

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

    /**
     * @param values A `monthly` block as documented below.
     */
    @JvmName("dtoldvpmlemgavra")
    public suspend fun monthlies(values: List>) {
        this.monthlies = Output.all(values)
    }

    /**
     * @param value A list of days of the week that the job should execute on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
     */
    @JvmName("arliqiltmsqtfljl")
    public suspend fun weekDays(`value`: Output>) {
        this.weekDays = value
    }

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

    /**
     * @param values A list of days of the week that the job should execute on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
     */
    @JvmName("yecovfmxygjaiihl")
    public suspend fun weekDays(values: List>) {
        this.weekDays = Output.all(values)
    }

    /**
     * @param value A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered.
     */
    @JvmName("ypvjhleyqagjhowo")
    public suspend fun hours(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hours = mapped
    }

    /**
     * @param values A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered.
     */
    @JvmName("plwatwlpxrqrbntk")
    public suspend fun hours(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hours = mapped
    }

    /**
     * @param value A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.
     */
    @JvmName("oprumtuqhteuwqbp")
    public suspend fun minutes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minutes = mapped
    }

    /**
     * @param values A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.
     */
    @JvmName("kjmmnkaxrgrbbfca")
    public suspend fun minutes(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.minutes = mapped
    }

    /**
     * @param value A list of days of the month that the job should execute on.
     */
    @JvmName("jusjheupvbreefbf")
    public suspend fun monthDays(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.monthDays = mapped
    }

    /**
     * @param values A list of days of the month that the job should execute on.
     */
    @JvmName("ecqndqlmibixykuh")
    public suspend fun monthDays(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.monthDays = mapped
    }

    /**
     * @param value A `monthly` block as documented below.
     */
    @JvmName("civexudxrjiyyxkq")
    public suspend fun monthlies(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.monthlies = mapped
    }

    /**
     * @param argument A `monthly` block as documented below.
     */
    @JvmName("vmxguwrggnbkdhnt")
    public suspend fun monthlies(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleMonthlyArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.monthlies = mapped
    }

    /**
     * @param argument A `monthly` block as documented below.
     */
    @JvmName("lblnodbntgetoecl")
    public suspend fun monthlies(vararg argument: suspend IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleMonthlyArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleMonthlyArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.monthlies = mapped
    }

    /**
     * @param argument A `monthly` block as documented below.
     */
    @JvmName("xormiybokjlswndq")
    public suspend fun monthlies(argument: suspend IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleMonthlyArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleMonthlyArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.monthlies = mapped
    }

    /**
     * @param values A `monthly` block as documented below.
     */
    @JvmName("nutnellfdnviwtac")
    public suspend fun monthlies(vararg values: IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleMonthlyArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.monthlies = mapped
    }

    /**
     * @param value A list of days of the week that the job should execute on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
     */
    @JvmName("likeqbikxpqceaxu")
    public suspend fun weekDays(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.weekDays = mapped
    }

    /**
     * @param values A list of days of the week that the job should execute on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
     */
    @JvmName("jktcsscabyrrldoj")
    public suspend fun weekDays(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.weekDays = mapped
    }

    internal fun build(): IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleArgs =
        IntegrationAccountBatchConfigurationReleaseCriteriaRecurrenceScheduleArgs(
            hours = hours,
            minutes = minutes,
            monthDays = monthDays,
            monthlies = monthlies,
            weekDays = weekDays,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy