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

com.pulumi.alicloud.sls.kotlin.inputs.AlertConfigurationJoinConfigurationArgs.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.sls.kotlin.inputs

import com.pulumi.alicloud.sls.inputs.AlertConfigurationJoinConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property condition Data matching expression. When the data content does not need to be determined, set it to an empty string. In other cases, it needs to be set as an expression, for example, errCnt> 10.
 * @property type
 */
public data class AlertConfigurationJoinConfigurationArgs(
    public val condition: Output? = null,
    public val type: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.alicloud.sls.inputs.AlertConfigurationJoinConfigurationArgs =
        com.pulumi.alicloud.sls.inputs.AlertConfigurationJoinConfigurationArgs.builder()
            .condition(condition?.applyValue({ args0 -> args0 }))
            .type(type?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AlertConfigurationJoinConfigurationArgs].
 */
@PulumiTagMarker
public class AlertConfigurationJoinConfigurationArgsBuilder internal constructor() {
    private var condition: Output? = null

    private var type: Output? = null

    /**
     * @param value Data matching expression. When the data content does not need to be determined, set it to an empty string. In other cases, it needs to be set as an expression, for example, errCnt> 10.
     */
    @JvmName("taqxktppbfdjfhfv")
    public suspend fun condition(`value`: Output) {
        this.condition = value
    }

    /**
     * @param value
     */
    @JvmName("vnsassgbbojidrtb")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Data matching expression. When the data content does not need to be determined, set it to an empty string. In other cases, it needs to be set as an expression, for example, errCnt> 10.
     */
    @JvmName("iaxoegsnapdqceyj")
    public suspend fun condition(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.condition = mapped
    }

    /**
     * @param value
     */
    @JvmName("yqynlfauuchlfojk")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): AlertConfigurationJoinConfigurationArgs =
        AlertConfigurationJoinConfigurationArgs(
            condition = condition,
            type = type,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy