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

com.pulumi.awsnative.ec2.kotlin.TransitGatewayMulticastDomainAssociationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin

import com.pulumi.awsnative.ec2.TransitGatewayMulticastDomainAssociationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The AWS::EC2::TransitGatewayMulticastDomainAssociation type
 * @property subnetId The IDs of the subnets to associate with the transit gateway multicast domain.
 * @property transitGatewayAttachmentId The ID of the transit gateway attachment.
 * @property transitGatewayMulticastDomainId The ID of the transit gateway multicast domain.
 */
public data class TransitGatewayMulticastDomainAssociationArgs(
    public val subnetId: Output? = null,
    public val transitGatewayAttachmentId: Output? = null,
    public val transitGatewayMulticastDomainId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.TransitGatewayMulticastDomainAssociationArgs =
        com.pulumi.awsnative.ec2.TransitGatewayMulticastDomainAssociationArgs.builder()
            .subnetId(subnetId?.applyValue({ args0 -> args0 }))
            .transitGatewayAttachmentId(transitGatewayAttachmentId?.applyValue({ args0 -> args0 }))
            .transitGatewayMulticastDomainId(
                transitGatewayMulticastDomainId?.applyValue({ args0 ->
                    args0
                }),
            ).build()
}

/**
 * Builder for [TransitGatewayMulticastDomainAssociationArgs].
 */
@PulumiTagMarker
public class TransitGatewayMulticastDomainAssociationArgsBuilder internal constructor() {
    private var subnetId: Output? = null

    private var transitGatewayAttachmentId: Output? = null

    private var transitGatewayMulticastDomainId: Output? = null

    /**
     * @param value The IDs of the subnets to associate with the transit gateway multicast domain.
     */
    @JvmName("olhndxaoodxssufq")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

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

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

    /**
     * @param value The IDs of the subnets to associate with the transit gateway multicast domain.
     */
    @JvmName("mtshxjlddaatdoxy")
    public suspend fun subnetId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnetId = mapped
    }

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

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

    internal fun build(): TransitGatewayMulticastDomainAssociationArgs =
        TransitGatewayMulticastDomainAssociationArgs(
            subnetId = subnetId,
            transitGatewayAttachmentId = transitGatewayAttachmentId,
            transitGatewayMulticastDomainId = transitGatewayMulticastDomainId,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy