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

com.pulumi.azure.logicapps.kotlin.inputs.TriggerRecurrenceScheduleArgs.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.TriggerRecurrenceScheduleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property atTheseHours Specifies a list of hours when the trigger should run. Valid values are between 0 and 23.
 * @property atTheseMinutes Specifies a list of minutes when the trigger should run. Valid values are between 0 and 59.
 * @property onTheseDays Specifies a list of days when the trigger should run. Valid values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.
 */
public data class TriggerRecurrenceScheduleArgs(
    public val atTheseHours: Output>? = null,
    public val atTheseMinutes: Output>? = null,
    public val onTheseDays: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.logicapps.inputs.TriggerRecurrenceScheduleArgs =
        com.pulumi.azure.logicapps.inputs.TriggerRecurrenceScheduleArgs.builder()
            .atTheseHours(atTheseHours?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .atTheseMinutes(atTheseMinutes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .onTheseDays(onTheseDays?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var atTheseMinutes: Output>? = null

    private var onTheseDays: Output>? = null

    /**
     * @param value Specifies a list of hours when the trigger should run. Valid values are between 0 and 23.
     */
    @JvmName("naslhxfxieambwaf")
    public suspend fun atTheseHours(`value`: Output>) {
        this.atTheseHours = value
    }

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

    /**
     * @param values Specifies a list of hours when the trigger should run. Valid values are between 0 and 23.
     */
    @JvmName("hwflplswhhpfqaba")
    public suspend fun atTheseHours(values: List>) {
        this.atTheseHours = Output.all(values)
    }

    /**
     * @param value Specifies a list of minutes when the trigger should run. Valid values are between 0 and 59.
     */
    @JvmName("brdkbliwnmaslwkj")
    public suspend fun atTheseMinutes(`value`: Output>) {
        this.atTheseMinutes = value
    }

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

    /**
     * @param values Specifies a list of minutes when the trigger should run. Valid values are between 0 and 59.
     */
    @JvmName("fvecvwftcvcusbkf")
    public suspend fun atTheseMinutes(values: List>) {
        this.atTheseMinutes = Output.all(values)
    }

    /**
     * @param value Specifies a list of days when the trigger should run. Valid values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.
     */
    @JvmName("hcwowilenectbakc")
    public suspend fun onTheseDays(`value`: Output>) {
        this.onTheseDays = value
    }

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

    /**
     * @param values Specifies a list of days when the trigger should run. Valid values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.
     */
    @JvmName("nwbgmavilmedqsgm")
    public suspend fun onTheseDays(values: List>) {
        this.onTheseDays = Output.all(values)
    }

    /**
     * @param value Specifies a list of hours when the trigger should run. Valid values are between 0 and 23.
     */
    @JvmName("xbdgmyiphegqufvy")
    public suspend fun atTheseHours(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.atTheseHours = mapped
    }

    /**
     * @param values Specifies a list of hours when the trigger should run. Valid values are between 0 and 23.
     */
    @JvmName("oigwwuagvrntwnuu")
    public suspend fun atTheseHours(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.atTheseHours = mapped
    }

    /**
     * @param value Specifies a list of minutes when the trigger should run. Valid values are between 0 and 59.
     */
    @JvmName("fjscxbfwtqovivgg")
    public suspend fun atTheseMinutes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.atTheseMinutes = mapped
    }

    /**
     * @param values Specifies a list of minutes when the trigger should run. Valid values are between 0 and 59.
     */
    @JvmName("cxmxuvdgmoavtcek")
    public suspend fun atTheseMinutes(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.atTheseMinutes = mapped
    }

    /**
     * @param value Specifies a list of days when the trigger should run. Valid values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.
     */
    @JvmName("hwnhaabvtstesgqo")
    public suspend fun onTheseDays(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.onTheseDays = mapped
    }

    /**
     * @param values Specifies a list of days when the trigger should run. Valid values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.
     */
    @JvmName("ywpbukmtrmhcwscu")
    public suspend fun onTheseDays(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.onTheseDays = mapped
    }

    internal fun build(): TriggerRecurrenceScheduleArgs = TriggerRecurrenceScheduleArgs(
        atTheseHours = atTheseHours,
        atTheseMinutes = atTheseMinutes,
        onTheseDays = onTheseDays,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy