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

com.pulumi.azure.devtest.kotlin.inputs.ScheduleNotificationSettingsArgs.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.devtest.kotlin.inputs

import com.pulumi.azure.devtest.inputs.ScheduleNotificationSettingsArgs.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.jvm.JvmName

/**
 *
 * @property status The status of the notification. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled`
 * @property timeInMinutes Time in minutes before event at which notification will be sent.
 * @property webhookUrl The webhook URL to which the notification will be sent.
 */
public data class ScheduleNotificationSettingsArgs(
    public val status: Output? = null,
    public val timeInMinutes: Output? = null,
    public val webhookUrl: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.devtest.inputs.ScheduleNotificationSettingsArgs =
        com.pulumi.azure.devtest.inputs.ScheduleNotificationSettingsArgs.builder()
            .status(status?.applyValue({ args0 -> args0 }))
            .timeInMinutes(timeInMinutes?.applyValue({ args0 -> args0 }))
            .webhookUrl(webhookUrl?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ScheduleNotificationSettingsArgs].
 */
@PulumiTagMarker
public class ScheduleNotificationSettingsArgsBuilder internal constructor() {
    private var status: Output? = null

    private var timeInMinutes: Output? = null

    private var webhookUrl: Output? = null

    /**
     * @param value The status of the notification. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled`
     */
    @JvmName("aveffsphwyfndpka")
    public suspend fun status(`value`: Output) {
        this.status = value
    }

    /**
     * @param value Time in minutes before event at which notification will be sent.
     */
    @JvmName("glootuelxjmitjjo")
    public suspend fun timeInMinutes(`value`: Output) {
        this.timeInMinutes = value
    }

    /**
     * @param value The webhook URL to which the notification will be sent.
     */
    @JvmName("epopkmgcvvthvtpb")
    public suspend fun webhookUrl(`value`: Output) {
        this.webhookUrl = value
    }

    /**
     * @param value The status of the notification. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled`
     */
    @JvmName("hjqftswtsmwyggvo")
    public suspend fun status(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.status = mapped
    }

    /**
     * @param value Time in minutes before event at which notification will be sent.
     */
    @JvmName("oetsaipxqbwmeapb")
    public suspend fun timeInMinutes(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.timeInMinutes = mapped
    }

    /**
     * @param value The webhook URL to which the notification will be sent.
     */
    @JvmName("fbaqjjksjobamfnh")
    public suspend fun webhookUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.webhookUrl = mapped
    }

    internal fun build(): ScheduleNotificationSettingsArgs = ScheduleNotificationSettingsArgs(
        status = status,
        timeInMinutes = timeInMinutes,
        webhookUrl = webhookUrl,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy