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

com.pulumi.aws.resourcegroups.kotlin.inputs.GroupConfigurationParameterArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.resourcegroups.kotlin.inputs

import com.pulumi.aws.resourcegroups.inputs.GroupConfigurationParameterArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property name The name of the group configuration parameter.
 * @property values The value or values to be used for the specified parameter.
 */
public data class GroupConfigurationParameterArgs(
    public val name: Output,
    public val values: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.resourcegroups.inputs.GroupConfigurationParameterArgs =
        com.pulumi.aws.resourcegroups.inputs.GroupConfigurationParameterArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .values(values.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [GroupConfigurationParameterArgs].
 */
@PulumiTagMarker
public class GroupConfigurationParameterArgsBuilder internal constructor() {
    private var name: Output? = null

    private var values: Output>? = null

    /**
     * @param value The name of the group configuration parameter.
     */
    @JvmName("aejchorhhsqpxyep")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The value or values to be used for the specified parameter.
     */
    @JvmName("gfuwbubwlfilouej")
    public suspend fun values(`value`: Output>) {
        this.values = value
    }

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

    /**
     * @param values The value or values to be used for the specified parameter.
     */
    @JvmName("cdkysnibtxkypttx")
    public suspend fun values(values: List>) {
        this.values = Output.all(values)
    }

    /**
     * @param value The name of the group configuration parameter.
     */
    @JvmName("whopvncgllnfyrwb")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The value or values to be used for the specified parameter.
     */
    @JvmName("oeppehsbjduedcsb")
    public suspend fun values(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.values = mapped
    }

    /**
     * @param values The value or values to be used for the specified parameter.
     */
    @JvmName("jbxpedrujwrpalcw")
    public suspend fun values(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.values = mapped
    }

    internal fun build(): GroupConfigurationParameterArgs = GroupConfigurationParameterArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        values = values ?: throw PulumiNullFieldException("values"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy