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

com.pulumi.alicloud.arms.kotlin.outputs.DispatchRuleNotifyRule.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: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.arms.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property notifyChannels The notification method. Valid values: dingTalk, sms, webhook, email, and wechat.
 * @property notifyObjects Sets the notification object. See `notify_objects` below.
 */
public data class DispatchRuleNotifyRule(
    public val notifyChannels: List,
    public val notifyObjects: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.alicloud.arms.outputs.DispatchRuleNotifyRule): DispatchRuleNotifyRule = DispatchRuleNotifyRule(
            notifyChannels = javaType.notifyChannels().map({ args0 -> args0 }),
            notifyObjects = javaType.notifyObjects().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.alicloud.arms.kotlin.outputs.DispatchRuleNotifyRuleNotifyObject.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy