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

com.pulumi.aws.cfg.kotlin.inputs.RemediationConfigurationParameterArgs.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.cfg.kotlin.inputs

import com.pulumi.aws.cfg.inputs.RemediationConfigurationParameterArgs.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 Name of the attribute.
 * @property resourceValue Value is dynamic and changes at run-time.
 * @property staticValue Value is static and does not change at run-time.
 * @property staticValues List of static values.
 */
public data class RemediationConfigurationParameterArgs(
    public val name: Output,
    public val resourceValue: Output? = null,
    public val staticValue: Output? = null,
    public val staticValues: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cfg.inputs.RemediationConfigurationParameterArgs =
        com.pulumi.aws.cfg.inputs.RemediationConfigurationParameterArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .resourceValue(resourceValue?.applyValue({ args0 -> args0 }))
            .staticValue(staticValue?.applyValue({ args0 -> args0 }))
            .staticValues(staticValues?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var resourceValue: Output? = null

    private var staticValue: Output? = null

    private var staticValues: Output>? = null

    /**
     * @param value Name of the attribute.
     */
    @JvmName("nbsnfefvirqkcbhm")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Value is dynamic and changes at run-time.
     */
    @JvmName("wpsmvebpbkfpcbsc")
    public suspend fun resourceValue(`value`: Output) {
        this.resourceValue = value
    }

    /**
     * @param value Value is static and does not change at run-time.
     */
    @JvmName("qmbrfxtvfblunkwr")
    public suspend fun staticValue(`value`: Output) {
        this.staticValue = value
    }

    /**
     * @param value List of static values.
     */
    @JvmName("yhfslcvrcrfjmidu")
    public suspend fun staticValues(`value`: Output>) {
        this.staticValues = value
    }

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

    /**
     * @param values List of static values.
     */
    @JvmName("gnbrfeauginlqrmf")
    public suspend fun staticValues(values: List>) {
        this.staticValues = Output.all(values)
    }

    /**
     * @param value Name of the attribute.
     */
    @JvmName("wbltvxwwhyrcbofh")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Value is dynamic and changes at run-time.
     */
    @JvmName("medbxbhntsdkqtuc")
    public suspend fun resourceValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceValue = mapped
    }

    /**
     * @param value Value is static and does not change at run-time.
     */
    @JvmName("tyttnptufubpuudd")
    public suspend fun staticValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.staticValue = mapped
    }

    /**
     * @param value List of static values.
     */
    @JvmName("fcpstasteemmrisp")
    public suspend fun staticValues(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.staticValues = mapped
    }

    /**
     * @param values List of static values.
     */
    @JvmName("bhxxavcxddvhmkyi")
    public suspend fun staticValues(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.staticValues = mapped
    }

    internal fun build(): RemediationConfigurationParameterArgs =
        RemediationConfigurationParameterArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            resourceValue = resourceValue,
            staticValue = staticValue,
            staticValues = staticValues,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy