com.pulumi.azure.sentinel.kotlin.inputs.AlertRuleFusionSourceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.sentinel.kotlin.inputs
import com.pulumi.azure.sentinel.inputs.AlertRuleFusionSourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property enabled Whether this source signal is enabled or disabled in Fusion detection? Defaults to `true`.
* @property name The name of the Fusion source signal. Refer to Fusion alert rule template for supported values.
* @property subTypes One or more `sub_type` blocks as defined below.
*/
public data class AlertRuleFusionSourceArgs(
public val enabled: Output? = null,
public val name: Output,
public val subTypes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.sentinel.inputs.AlertRuleFusionSourceArgs =
com.pulumi.azure.sentinel.inputs.AlertRuleFusionSourceArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.subTypes(
subTypes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AlertRuleFusionSourceArgs].
*/
@PulumiTagMarker
public class AlertRuleFusionSourceArgsBuilder internal constructor() {
private var enabled: Output? = null
private var name: Output? = null
private var subTypes: Output>? = null
/**
* @param value Whether this source signal is enabled or disabled in Fusion detection? Defaults to `true`.
*/
@JvmName("savevgqdcsyidvtd")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The name of the Fusion source signal. Refer to Fusion alert rule template for supported values.
*/
@JvmName("uvxftthgonbvubrq")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value One or more `sub_type` blocks as defined below.
*/
@JvmName("kywauwlksrxvqgqe")
public suspend fun subTypes(`value`: Output>) {
this.subTypes = value
}
@JvmName("vxfdyfwnkpavdcmm")
public suspend fun subTypes(vararg values: Output) {
this.subTypes = Output.all(values.asList())
}
/**
* @param values One or more `sub_type` blocks as defined below.
*/
@JvmName("peboadqmkfmssmcc")
public suspend fun subTypes(values: List