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

com.pulumi.awsnative.emr.kotlin.WalWorkspaceArgs.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.emr.kotlin

import com.pulumi.awsnative.emr.WalWorkspaceArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Resource schema for AWS::EMR::WALWorkspace Type
 * @property tags An array of key-value pairs to apply to this resource.
 * @property walWorkspaceName The name of the emrwal container
 */
public data class WalWorkspaceArgs(
    public val tags: Output>? = null,
    public val walWorkspaceName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.emr.WalWorkspaceArgs =
        com.pulumi.awsnative.emr.WalWorkspaceArgs.builder()
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .walWorkspaceName(walWorkspaceName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WalWorkspaceArgs].
 */
@PulumiTagMarker
public class WalWorkspaceArgsBuilder internal constructor() {
    private var tags: Output>? = null

    private var walWorkspaceName: Output? = null

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("rdwptbyruiomjgsj")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

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

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("awqfuxyepjyxkldu")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value The name of the emrwal container
     */
    @JvmName("rmfcqoxersbmfmjm")
    public suspend fun walWorkspaceName(`value`: Output) {
        this.walWorkspaceName = value
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("vibxxhtibpwrkbto")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("pyrjmljyrgdnnbcd")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("ibpttajrhyjgruoo")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("cidfsgupghqmjwry")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("ajlynracfeupgovj")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The name of the emrwal container
     */
    @JvmName("kfmbxhvwqtqhqajj")
    public suspend fun walWorkspaceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.walWorkspaceName = mapped
    }

    internal fun build(): WalWorkspaceArgs = WalWorkspaceArgs(
        tags = tags,
        walWorkspaceName = walWorkspaceName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy