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

com.pulumi.aws.elasticbeanstalk.kotlin.inputs.ConfigurationTemplateSettingArgs.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.elasticbeanstalk.kotlin.inputs

import com.pulumi.aws.elasticbeanstalk.inputs.ConfigurationTemplateSettingArgs.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 name A unique name for this Template.
 * @property namespace
 * @property resource
 * @property value
 */
public data class ConfigurationTemplateSettingArgs(
    public val name: Output,
    public val namespace: Output,
    public val resource: Output? = null,
    public val `value`: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.elasticbeanstalk.inputs.ConfigurationTemplateSettingArgs =
        com.pulumi.aws.elasticbeanstalk.inputs.ConfigurationTemplateSettingArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .namespace(namespace.applyValue({ args0 -> args0 }))
            .resource(resource?.applyValue({ args0 -> args0 }))
            .`value`(`value`.applyValue({ args0 -> args0 })).build()
}

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

    private var namespace: Output? = null

    private var resource: Output? = null

    private var `value`: Output? = null

    /**
     * @param value A unique name for this Template.
     */
    @JvmName("tbielisnukcehuop")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

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

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

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

    /**
     * @param value A unique name for this Template.
     */
    @JvmName("srtgreypvnoissbe")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

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

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

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

    internal fun build(): ConfigurationTemplateSettingArgs = ConfigurationTemplateSettingArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        namespace = namespace ?: throw PulumiNullFieldException("namespace"),
        resource = resource,
        `value` = `value` ?: throw PulumiNullFieldException("value"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy