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

com.pulumi.azurenative.securityinsights.kotlin.inputs.AlertDetailsOverrideArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.securityinsights.kotlin.inputs

import com.pulumi.azurenative.securityinsights.inputs.AlertDetailsOverrideArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Settings for how to dynamically override alert static details
 * @property alertDescriptionFormat the format containing columns name(s) to override the alert description
 * @property alertDisplayNameFormat the format containing columns name(s) to override the alert name
 * @property alertDynamicProperties List of additional dynamic properties to override
 * @property alertSeverityColumnName the column name to take the alert severity from
 * @property alertTacticsColumnName the column name to take the alert tactics from
 */
public data class AlertDetailsOverrideArgs(
    public val alertDescriptionFormat: Output? = null,
    public val alertDisplayNameFormat: Output? = null,
    public val alertDynamicProperties: Output>? = null,
    public val alertSeverityColumnName: Output? = null,
    public val alertTacticsColumnName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.securityinsights.inputs.AlertDetailsOverrideArgs =
        com.pulumi.azurenative.securityinsights.inputs.AlertDetailsOverrideArgs.builder()
            .alertDescriptionFormat(alertDescriptionFormat?.applyValue({ args0 -> args0 }))
            .alertDisplayNameFormat(alertDisplayNameFormat?.applyValue({ args0 -> args0 }))
            .alertDynamicProperties(
                alertDynamicProperties?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .alertSeverityColumnName(alertSeverityColumnName?.applyValue({ args0 -> args0 }))
            .alertTacticsColumnName(alertTacticsColumnName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AlertDetailsOverrideArgs].
 */
@PulumiTagMarker
public class AlertDetailsOverrideArgsBuilder internal constructor() {
    private var alertDescriptionFormat: Output? = null

    private var alertDisplayNameFormat: Output? = null

    private var alertDynamicProperties: Output>? = null

    private var alertSeverityColumnName: Output? = null

    private var alertTacticsColumnName: Output? = null

    /**
     * @param value the format containing columns name(s) to override the alert description
     */
    @JvmName("ptyqwpjpefmyadjk")
    public suspend fun alertDescriptionFormat(`value`: Output) {
        this.alertDescriptionFormat = value
    }

    /**
     * @param value the format containing columns name(s) to override the alert name
     */
    @JvmName("mlkpjcgspkakcnds")
    public suspend fun alertDisplayNameFormat(`value`: Output) {
        this.alertDisplayNameFormat = value
    }

    /**
     * @param value List of additional dynamic properties to override
     */
    @JvmName("nyevkkwcabvcevak")
    public suspend fun alertDynamicProperties(`value`: Output>) {
        this.alertDynamicProperties = value
    }

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

    /**
     * @param values List of additional dynamic properties to override
     */
    @JvmName("toehsirlydshrgwx")
    public suspend fun alertDynamicProperties(values: List>) {
        this.alertDynamicProperties = Output.all(values)
    }

    /**
     * @param value the column name to take the alert severity from
     */
    @JvmName("elcsnxnradvpgbtv")
    public suspend fun alertSeverityColumnName(`value`: Output) {
        this.alertSeverityColumnName = value
    }

    /**
     * @param value the column name to take the alert tactics from
     */
    @JvmName("buytpbhbcwjuqpeb")
    public suspend fun alertTacticsColumnName(`value`: Output) {
        this.alertTacticsColumnName = value
    }

    /**
     * @param value the format containing columns name(s) to override the alert description
     */
    @JvmName("bvxmorpbyqqchivf")
    public suspend fun alertDescriptionFormat(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.alertDescriptionFormat = mapped
    }

    /**
     * @param value the format containing columns name(s) to override the alert name
     */
    @JvmName("kqiphvvsrxbgajft")
    public suspend fun alertDisplayNameFormat(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.alertDisplayNameFormat = mapped
    }

    /**
     * @param value List of additional dynamic properties to override
     */
    @JvmName("ecctbfprcwaxrfmb")
    public suspend fun alertDynamicProperties(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.alertDynamicProperties = mapped
    }

    /**
     * @param argument List of additional dynamic properties to override
     */
    @JvmName("lwjvembrydhgyxnc")
    public suspend fun alertDynamicProperties(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AlertPropertyMappingArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.alertDynamicProperties = mapped
    }

    /**
     * @param argument List of additional dynamic properties to override
     */
    @JvmName("loxdasfercumjeeg")
    public suspend fun alertDynamicProperties(vararg argument: suspend AlertPropertyMappingArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AlertPropertyMappingArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.alertDynamicProperties = mapped
    }

    /**
     * @param argument List of additional dynamic properties to override
     */
    @JvmName("lloscstsodquyeds")
    public suspend fun alertDynamicProperties(argument: suspend AlertPropertyMappingArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AlertPropertyMappingArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.alertDynamicProperties = mapped
    }

    /**
     * @param values List of additional dynamic properties to override
     */
    @JvmName("eniesmnmlwetatmx")
    public suspend fun alertDynamicProperties(vararg values: AlertPropertyMappingArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.alertDynamicProperties = mapped
    }

    /**
     * @param value the column name to take the alert severity from
     */
    @JvmName("mdjprlnjvdnpoodm")
    public suspend fun alertSeverityColumnName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.alertSeverityColumnName = mapped
    }

    /**
     * @param value the column name to take the alert tactics from
     */
    @JvmName("jnifbgsbofjtvwbw")
    public suspend fun alertTacticsColumnName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.alertTacticsColumnName = mapped
    }

    internal fun build(): AlertDetailsOverrideArgs = AlertDetailsOverrideArgs(
        alertDescriptionFormat = alertDescriptionFormat,
        alertDisplayNameFormat = alertDisplayNameFormat,
        alertDynamicProperties = alertDynamicProperties,
        alertSeverityColumnName = alertSeverityColumnName,
        alertTacticsColumnName = alertTacticsColumnName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy