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

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

package com.pulumi.awsnative.appconfig.kotlin.inputs

import com.pulumi.awsnative.appconfig.inputs.ExtensionParameterArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A parameter for the extension to send to a specific action.
 * @property description The description of the extension Parameter.
 * @property dynamic
 * @property required
 */
public data class ExtensionParameterArgs(
    public val description: Output? = null,
    public val `dynamic`: Output? = null,
    public val required: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.appconfig.inputs.ExtensionParameterArgs =
        com.pulumi.awsnative.appconfig.inputs.ExtensionParameterArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .`dynamic`(`dynamic`?.applyValue({ args0 -> args0 }))
            .required(required.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ExtensionParameterArgs].
 */
@PulumiTagMarker
public class ExtensionParameterArgsBuilder internal constructor() {
    private var description: Output? = null

    private var `dynamic`: Output? = null

    private var required: Output? = null

    /**
     * @param value The description of the extension Parameter.
     */
    @JvmName("mscvwowdnwhrjlsj")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value
     */
    @JvmName("jubvqyvndirormdj")
    public suspend fun `dynamic`(`value`: Output) {
        this.`dynamic` = value
    }

    /**
     * @param value
     */
    @JvmName("gnocbafltfigynbg")
    public suspend fun required(`value`: Output) {
        this.required = value
    }

    /**
     * @param value The description of the extension Parameter.
     */
    @JvmName("iwvatxkspuvtxqsf")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value
     */
    @JvmName("gdacobsrvskjcuwf")
    public suspend fun `dynamic`(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`dynamic` = mapped
    }

    /**
     * @param value
     */
    @JvmName("louobgkotgdahneo")
    public suspend fun required(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.required = mapped
    }

    internal fun build(): ExtensionParameterArgs = ExtensionParameterArgs(
        description = description,
        `dynamic` = `dynamic`,
        required = required ?: throw PulumiNullFieldException("required"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy