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

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

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

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

import com.pulumi.awsnative.securityhub.inputs.ConfigurationPolicyParameterValueArgs.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

/**
 * An object that includes the data type of a security control parameter and its current value.
 * @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 an enum.
 * @property enumList A control parameter that is a list of enums.
 * @property integer A control parameter that is an 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 ConfigurationPolicyParameterValueArgs(
    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.ConfigurationPolicyParameterValueArgs =
        com.pulumi.awsnative.securityhub.inputs.ConfigurationPolicyParameterValueArgs.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 [ConfigurationPolicyParameterValueArgs].
 */
@PulumiTagMarker
public class ConfigurationPolicyParameterValueArgsBuilder 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("goewgsdtqutwxtty")
    public suspend fun boolean(`value`: Output) {
        this.boolean = value
    }

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

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

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

    @JvmName("joxcccjcctgqtvvd")
    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("anmjsgxtnhffknrq")
    public suspend fun enumList(values: List>) {
        this.enumList = Output.all(values)
    }

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

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

    @JvmName("ouarsoolvqhdprns")
    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("lkgoyjbrbgfnoqpl")
    public suspend fun integerList(values: List>) {
        this.integerList = Output.all(values)
    }

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

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

    @JvmName("vodwypvaklqkfger")
    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("kekvoyukuulwwqsx")
    public suspend fun stringList(values: List>) {
        this.stringList = Output.all(values)
    }

    /**
     * @param value A control parameter that is a boolean.
     */
    @JvmName("dswfwqimeknhuush")
    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("ikhdptblseurbdfq")
    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 an enum.
     */
    @JvmName("ktfktivuswdenghm")
    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("ponvhfodjnnxxvtq")
    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("wupwjxdabhexyktt")
    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 an integer.
     */
    @JvmName("loascnjyyfavcclx")
    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("pkvsjsixhsbdfmcr")
    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("lasvosndipplcwue")
    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("puufoxhljdqxdkmq")
    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("kxacmaiahmjwapni")
    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("grevfwjkwytcknhg")
    public suspend fun stringList(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.stringList = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy