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

com.pulumi.awsnative.ec2.kotlin.inputs.GetTransitGatewayMulticastDomainAssociationPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ec2.kotlin.inputs

import com.pulumi.awsnative.ec2.inputs.GetTransitGatewayMulticastDomainAssociationPlainArgs.builder
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 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 GetTransitGatewayMulticastDomainAssociationPlainArgs(
    public val subnetId: String,
    public val transitGatewayAttachmentId: String,
    public val transitGatewayMulticastDomainId: String,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.GetTransitGatewayMulticastDomainAssociationPlainArgs =
        com.pulumi.awsnative.ec2.inputs.GetTransitGatewayMulticastDomainAssociationPlainArgs.builder()
            .subnetId(subnetId.let({ args0 -> args0 }))
            .transitGatewayAttachmentId(transitGatewayAttachmentId.let({ args0 -> args0 }))
            .transitGatewayMulticastDomainId(transitGatewayMulticastDomainId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetTransitGatewayMulticastDomainAssociationPlainArgs].
 */
@PulumiTagMarker
public class GetTransitGatewayMulticastDomainAssociationPlainArgsBuilder internal constructor() {
    private var subnetId: String? = null

    private var transitGatewayAttachmentId: String? = null

    private var transitGatewayMulticastDomainId: String? = null

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

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

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

    internal fun build(): GetTransitGatewayMulticastDomainAssociationPlainArgs =
        GetTransitGatewayMulticastDomainAssociationPlainArgs(
            subnetId = subnetId ?: throw PulumiNullFieldException("subnetId"),
            transitGatewayAttachmentId = transitGatewayAttachmentId ?: throw
                PulumiNullFieldException("transitGatewayAttachmentId"),
            transitGatewayMulticastDomainId = transitGatewayMulticastDomainId ?: throw
                PulumiNullFieldException("transitGatewayMulticastDomainId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy