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

com.pulumi.awsnative.ec2.kotlin.TransitGatewayMulticastDomainArgs.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin

import com.pulumi.awsnative.ec2.TransitGatewayMulticastDomainArgs.builder
import com.pulumi.awsnative.ec2.kotlin.inputs.OptionsPropertiesArgs
import com.pulumi.awsnative.ec2.kotlin.inputs.OptionsPropertiesArgsBuilder
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

/**
 * The AWS::EC2::TransitGatewayMulticastDomain type
 * @property options The options for the transit gateway multicast domain.
 * @property tags The tags for the transit gateway multicast domain.
 * @property transitGatewayId The ID of the transit gateway.
 */
public data class TransitGatewayMulticastDomainArgs(
    public val options: Output? = null,
    public val tags: Output>? = null,
    public val transitGatewayId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.TransitGatewayMulticastDomainArgs =
        com.pulumi.awsnative.ec2.TransitGatewayMulticastDomainArgs.builder()
            .options(options?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .transitGatewayId(transitGatewayId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TransitGatewayMulticastDomainArgs].
 */
@PulumiTagMarker
public class TransitGatewayMulticastDomainArgsBuilder internal constructor() {
    private var options: Output? = null

    private var tags: Output>? = null

    private var transitGatewayId: Output? = null

    /**
     * @param value The options for the transit gateway multicast domain.
     */
    @JvmName("itfurxbbqscqxuqe")
    public suspend fun options(`value`: Output) {
        this.options = value
    }

    /**
     * @param value The tags for the transit gateway multicast domain.
     */
    @JvmName("unagqxotfftlkmir")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

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

    /**
     * @param values The tags for the transit gateway multicast domain.
     */
    @JvmName("ipxkjmkgfnjjdoaf")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value The ID of the transit gateway.
     */
    @JvmName("ccuayedqajbkwtxf")
    public suspend fun transitGatewayId(`value`: Output) {
        this.transitGatewayId = value
    }

    /**
     * @param value The options for the transit gateway multicast domain.
     */
    @JvmName("jqfbihajnbmvuasu")
    public suspend fun options(`value`: OptionsPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.options = mapped
    }

    /**
     * @param argument The options for the transit gateway multicast domain.
     */
    @JvmName("ntmbosqduhqrwcni")
    public suspend fun options(argument: suspend OptionsPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = OptionsPropertiesArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.options = mapped
    }

    /**
     * @param value The tags for the transit gateway multicast domain.
     */
    @JvmName("uupnduogbtcyrwqd")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument The tags for the transit gateway multicast domain.
     */
    @JvmName("pytohwgvrhkagieh")
    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 The tags for the transit gateway multicast domain.
     */
    @JvmName("wrxhnuwprbkntsqb")
    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 The tags for the transit gateway multicast domain.
     */
    @JvmName("qleasqjblfnvbuby")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values The tags for the transit gateway multicast domain.
     */
    @JvmName("nixllargcbaighxr")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The ID of the transit gateway.
     */
    @JvmName("imuxahdkgluqwnfv")
    public suspend fun transitGatewayId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.transitGatewayId = mapped
    }

    internal fun build(): TransitGatewayMulticastDomainArgs = TransitGatewayMulticastDomainArgs(
        options = options,
        tags = tags,
        transitGatewayId = transitGatewayId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy