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

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

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

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

import com.pulumi.awsnative.ec2.inputs.GetTransitGatewayPeeringAttachmentPlainArgs.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 transitGatewayAttachmentId The ID of the transit gateway peering attachment.
 */
public data class GetTransitGatewayPeeringAttachmentPlainArgs(
    public val transitGatewayAttachmentId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.GetTransitGatewayPeeringAttachmentPlainArgs = com.pulumi.awsnative.ec2.inputs.GetTransitGatewayPeeringAttachmentPlainArgs.builder()
        .transitGatewayAttachmentId(transitGatewayAttachmentId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetTransitGatewayPeeringAttachmentPlainArgs].
 */
@PulumiTagMarker
public class GetTransitGatewayPeeringAttachmentPlainArgsBuilder internal constructor() {
    private var transitGatewayAttachmentId: String? = null

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

    internal fun build(): GetTransitGatewayPeeringAttachmentPlainArgs =
        GetTransitGatewayPeeringAttachmentPlainArgs(
            transitGatewayAttachmentId = transitGatewayAttachmentId ?: throw
                PulumiNullFieldException("transitGatewayAttachmentId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy