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

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

package com.pulumi.awsnative.connect.kotlin.inputs

import com.pulumi.awsnative.connect.inputs.ValuesPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * The values of a predefined attribute.
 * @property stringList Predefined attribute values of type string list.
 */
public data class ValuesPropertiesArgs(
    public val stringList: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.connect.inputs.ValuesPropertiesArgs =
        com.pulumi.awsnative.connect.inputs.ValuesPropertiesArgs.builder()
            .stringList(stringList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ValuesPropertiesArgs].
 */
@PulumiTagMarker
public class ValuesPropertiesArgsBuilder internal constructor() {
    private var stringList: Output>? = null

    /**
     * @param value Predefined attribute values of type string list.
     */
    @JvmName("jwmxitygseassfgw")
    public suspend fun stringList(`value`: Output>) {
        this.stringList = value
    }

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

    /**
     * @param values Predefined attribute values of type string list.
     */
    @JvmName("dcqpdqjaxaewwvem")
    public suspend fun stringList(values: List>) {
        this.stringList = Output.all(values)
    }

    /**
     * @param value Predefined attribute values of type string list.
     */
    @JvmName("elglyhuueabfghvq")
    public suspend fun stringList(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stringList = mapped
    }

    /**
     * @param values Predefined attribute values of type string list.
     */
    @JvmName("bwebcwnpqdmojxyk")
    public suspend fun stringList(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.stringList = mapped
    }

    internal fun build(): ValuesPropertiesArgs = ValuesPropertiesArgs(
        stringList = stringList,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy