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

com.pulumi.awsnative.securityhub.kotlin.inputs.SecurityControlParameterValueArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.securityhub.inputs.SecurityControlParameterValueArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property boolean A control parameter that is a boolean.
 * @property double A control parameter that is a double.
 * @property enum A control parameter that is a enum.
 * @property enumList A control parameter that is a list of enums.
 * @property integer A control parameter that is a integer.
 * @property integerList A control parameter that is a list of integers.
 * @property string A control parameter that is a string.
 * @property stringList A control parameter that is a list of strings.
 */
public data class SecurityControlParameterValueArgs(
    public val boolean: Output? = null,
    public val double: Output? = null,
    public val `enum`: Output? = null,
    public val enumList: Output>? = null,
    public val integer: Output? = null,
    public val integerList: Output>? = null,
    public val string: Output? = null,
    public val stringList: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.securityhub.inputs.SecurityControlParameterValueArgs =
        com.pulumi.awsnative.securityhub.inputs.SecurityControlParameterValueArgs.builder()
            .boolean_(boolean?.applyValue({ args0 -> args0 }))
            .double_(double?.applyValue({ args0 -> args0 }))
            .enum_(`enum`?.applyValue({ args0 -> args0 }))
            .enumList(enumList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .integer(integer?.applyValue({ args0 -> args0 }))
            .integerList(integerList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .string(string?.applyValue({ args0 -> args0 }))
            .stringList(stringList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [SecurityControlParameterValueArgs].
 */
@PulumiTagMarker
public class SecurityControlParameterValueArgsBuilder internal constructor() {
    private var boolean: Output? = null

    private var double: Output? = null

    private var `enum`: Output? = null

    private var enumList: Output>? = null

    private var integer: Output? = null

    private var integerList: Output>? = null

    private var string: Output? = null

    private var stringList: Output>? = null

    /**
     * @param value A control parameter that is a boolean.
     */
    @JvmName("wmslrxaqrnrpmupa")
    public suspend fun boolean(`value`: Output) {
        this.boolean = value
    }

    /**
     * @param value A control parameter that is a double.
     */
    @JvmName("aexwqhiqqsuncmvh")
    public suspend fun double(`value`: Output) {
        this.double = value
    }

    /**
     * @param value A control parameter that is a enum.
     */
    @JvmName("ynokpwrlvsliitsq")
    public suspend fun `enum`(`value`: Output) {
        this.`enum` = value
    }

    /**
     * @param value A control parameter that is a list of enums.
     */
    @JvmName("jkihfbjckiiuamtu")
    public suspend fun enumList(`value`: Output>) {
        this.enumList = value
    }

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

    /**
     * @param values A control parameter that is a list of enums.
     */
    @JvmName("myamynvllqmqdfhm")
    public suspend fun enumList(values: List>) {
        this.enumList = Output.all(values)
    }

    /**
     * @param value A control parameter that is a integer.
     */
    @JvmName("xworgqxlukevipuc")
    public suspend fun integer(`value`: Output) {
        this.integer = value
    }

    /**
     * @param value A control parameter that is a list of integers.
     */
    @JvmName("kulybkrfstibytxy")
    public suspend fun integerList(`value`: Output>) {
        this.integerList = value
    }

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

    /**
     * @param values A control parameter that is a list of integers.
     */
    @JvmName("wwfjkndhuijrqgwh")
    public suspend fun integerList(values: List>) {
        this.integerList = Output.all(values)
    }

    /**
     * @param value A control parameter that is a string.
     */
    @JvmName("jsupnajjxdelrlex")
    public suspend fun string(`value`: Output) {
        this.string = value
    }

    /**
     * @param value A control parameter that is a list of strings.
     */
    @JvmName("taoctfdridxbksvn")
    public suspend fun stringList(`value`: Output>) {
        this.stringList = value
    }

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

    /**
     * @param values A control parameter that is a list of strings.
     */
    @JvmName("cfkegldmwmpsrwny")
    public suspend fun stringList(values: List>) {
        this.stringList = Output.all(values)
    }

    /**
     * @param value A control parameter that is a boolean.
     */
    @JvmName("otgagyxfdwcxnpja")
    public suspend fun boolean(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.boolean = mapped
    }

    /**
     * @param value A control parameter that is a double.
     */
    @JvmName("jpvfyjxafsxawnht")
    public suspend fun double(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.double = mapped
    }

    /**
     * @param value A control parameter that is a enum.
     */
    @JvmName("exkluqgfngfccqng")
    public suspend fun `enum`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`enum` = mapped
    }

    /**
     * @param value A control parameter that is a list of enums.
     */
    @JvmName("whcwpndojivaxkrk")
    public suspend fun enumList(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enumList = mapped
    }

    /**
     * @param values A control parameter that is a list of enums.
     */
    @JvmName("bgjxhemslydjhdkb")
    public suspend fun enumList(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.enumList = mapped
    }

    /**
     * @param value A control parameter that is a integer.
     */
    @JvmName("ovkxnnuvbcvmbiqi")
    public suspend fun integer(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.integer = mapped
    }

    /**
     * @param value A control parameter that is a list of integers.
     */
    @JvmName("abgxrlnbokqftody")
    public suspend fun integerList(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.integerList = mapped
    }

    /**
     * @param values A control parameter that is a list of integers.
     */
    @JvmName("qhxgfifxaxdrphss")
    public suspend fun integerList(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.integerList = mapped
    }

    /**
     * @param value A control parameter that is a string.
     */
    @JvmName("fqapofdffehnpanj")
    public suspend fun string(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.string = mapped
    }

    /**
     * @param value A control parameter that is a list of strings.
     */
    @JvmName("ybukixryxddkhhdr")
    public suspend fun stringList(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stringList = mapped
    }

    /**
     * @param values A control parameter that is a list of strings.
     */
    @JvmName("ygfqliqupwuurojh")
    public suspend fun stringList(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.stringList = mapped
    }

    internal fun build(): SecurityControlParameterValueArgs = SecurityControlParameterValueArgs(
        boolean = boolean,
        double = double,
        `enum` = `enum`,
        enumList = enumList,
        integer = integer,
        integerList = integerList,
        string = string,
        stringList = stringList,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy