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

com.pulumi.awsnative.securityhub.kotlin.inputs.AutomationRuleSeverityUpdateArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.securityhub.kotlin.inputs

import com.pulumi.awsnative.securityhub.inputs.AutomationRuleSeverityUpdateArgs.builder
import com.pulumi.awsnative.securityhub.kotlin.enums.AutomationRuleSeverityUpdateLabel
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property label The severity value of the finding. The allowed values are the following.
 * - `INFORMATIONAL` - No issue was found.
 * - `LOW` - The issue does not require action on its own.
 * - `MEDIUM` - The issue must be addressed but not urgently.
 * - `HIGH` - The issue must be addressed as a priority.
 * - `CRITICAL` - The issue must be remediated immediately to avoid it escalating.
 * @property normalized The normalized severity for the finding. This attribute is to be deprecated in favor of `Label` .
 * If you provide `Normalized` and do not provide `Label` , `Label` is set automatically as follows.
 * - 0 - `INFORMATIONAL`
 * - 1–39 - `LOW`
 * - 40–69 - `MEDIUM`
 * - 70–89 - `HIGH`
 * - 90–100 - `CRITICAL`
 * @property product The native severity as defined by the AWS service or integrated partner product that generated the finding.
 */
public data class AutomationRuleSeverityUpdateArgs(
    public val label: Output? = null,
    public val normalized: Output? = null,
    public val product: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.securityhub.inputs.AutomationRuleSeverityUpdateArgs =
        com.pulumi.awsnative.securityhub.inputs.AutomationRuleSeverityUpdateArgs.builder()
            .label(label?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .normalized(normalized?.applyValue({ args0 -> args0 }))
            .product(product?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AutomationRuleSeverityUpdateArgs].
 */
@PulumiTagMarker
public class AutomationRuleSeverityUpdateArgsBuilder internal constructor() {
    private var label: Output? = null

    private var normalized: Output? = null

    private var product: Output? = null

    /**
     * @param value The severity value of the finding. The allowed values are the following.
     * - `INFORMATIONAL` - No issue was found.
     * - `LOW` - The issue does not require action on its own.
     * - `MEDIUM` - The issue must be addressed but not urgently.
     * - `HIGH` - The issue must be addressed as a priority.
     * - `CRITICAL` - The issue must be remediated immediately to avoid it escalating.
     */
    @JvmName("rtlkdoaqcmupqscl")
    public suspend fun label(`value`: Output) {
        this.label = value
    }

    /**
     * @param value The normalized severity for the finding. This attribute is to be deprecated in favor of `Label` .
     * If you provide `Normalized` and do not provide `Label` , `Label` is set automatically as follows.
     * - 0 - `INFORMATIONAL`
     * - 1–39 - `LOW`
     * - 40–69 - `MEDIUM`
     * - 70–89 - `HIGH`
     * - 90–100 - `CRITICAL`
     */
    @JvmName("teicjyanbsbdhbls")
    public suspend fun normalized(`value`: Output) {
        this.normalized = value
    }

    /**
     * @param value The native severity as defined by the AWS service or integrated partner product that generated the finding.
     */
    @JvmName("vaqloijjricrqvcb")
    public suspend fun product(`value`: Output) {
        this.product = value
    }

    /**
     * @param value The severity value of the finding. The allowed values are the following.
     * - `INFORMATIONAL` - No issue was found.
     * - `LOW` - The issue does not require action on its own.
     * - `MEDIUM` - The issue must be addressed but not urgently.
     * - `HIGH` - The issue must be addressed as a priority.
     * - `CRITICAL` - The issue must be remediated immediately to avoid it escalating.
     */
    @JvmName("louvvgagvocioqtf")
    public suspend fun label(`value`: AutomationRuleSeverityUpdateLabel?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.label = mapped
    }

    /**
     * @param value The normalized severity for the finding. This attribute is to be deprecated in favor of `Label` .
     * If you provide `Normalized` and do not provide `Label` , `Label` is set automatically as follows.
     * - 0 - `INFORMATIONAL`
     * - 1–39 - `LOW`
     * - 40–69 - `MEDIUM`
     * - 70–89 - `HIGH`
     * - 90–100 - `CRITICAL`
     */
    @JvmName("lbrjnsaeqpcusnin")
    public suspend fun normalized(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.normalized = mapped
    }

    /**
     * @param value The native severity as defined by the AWS service or integrated partner product that generated the finding.
     */
    @JvmName("xjyeadjujeddtgll")
    public suspend fun product(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.product = mapped
    }

    internal fun build(): AutomationRuleSeverityUpdateArgs = AutomationRuleSeverityUpdateArgs(
        label = label,
        normalized = normalized,
        product = product,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy