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

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

package com.pulumi.awsnative.elasticbeanstalk.kotlin.inputs

import com.pulumi.awsnative.elasticbeanstalk.inputs.EnvironmentOptionSettingArgs.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.jvm.JvmName

/**
 *
 * @property namespace A unique namespace that identifies the option's associated AWS resource.
 * @property optionName The name of the configuration option.
 * @property resourceName A unique resource name for the option setting. Use it for a time–based scaling configuration option.
 * @property value The current value for the configuration option.
 */
public data class EnvironmentOptionSettingArgs(
    public val namespace: Output,
    public val optionName: Output,
    public val resourceName: Output? = null,
    public val `value`: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.elasticbeanstalk.inputs.EnvironmentOptionSettingArgs =
        com.pulumi.awsnative.elasticbeanstalk.inputs.EnvironmentOptionSettingArgs.builder()
            .namespace(namespace.applyValue({ args0 -> args0 }))
            .optionName(optionName.applyValue({ args0 -> args0 }))
            .resourceName(resourceName?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EnvironmentOptionSettingArgs].
 */
@PulumiTagMarker
public class EnvironmentOptionSettingArgsBuilder internal constructor() {
    private var namespace: Output? = null

    private var optionName: Output? = null

    private var resourceName: Output? = null

    private var `value`: Output? = null

    /**
     * @param value A unique namespace that identifies the option's associated AWS resource.
     */
    @JvmName("yatcafdyhvdvoqdo")
    public suspend fun namespace(`value`: Output) {
        this.namespace = value
    }

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

    /**
     * @param value A unique resource name for the option setting. Use it for a time–based scaling configuration option.
     */
    @JvmName("kdhhfrehunvyfwbh")
    public suspend fun resourceName(`value`: Output) {
        this.resourceName = value
    }

    /**
     * @param value The current value for the configuration option.
     */
    @JvmName("onogobudiblqmcar")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value A unique namespace that identifies the option's associated AWS resource.
     */
    @JvmName("bhpavdxhdodsnlat")
    public suspend fun namespace(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.namespace = mapped
    }

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

    /**
     * @param value A unique resource name for the option setting. Use it for a time–based scaling configuration option.
     */
    @JvmName("vabrwsjxmouinvyg")
    public suspend fun resourceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceName = mapped
    }

    /**
     * @param value The current value for the configuration option.
     */
    @JvmName("yrxsrdkprloaetxn")
    public suspend fun `value`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): EnvironmentOptionSettingArgs = EnvironmentOptionSettingArgs(
        namespace = namespace ?: throw PulumiNullFieldException("namespace"),
        optionName = optionName ?: throw PulumiNullFieldException("optionName"),
        resourceName = resourceName,
        `value` = `value`,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy