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

com.pulumi.awsnative.ec2.kotlin.inputs.GetNatGatewayPlainArgs.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.inputs

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

/**
 * Builder for [GetNatGatewayPlainArgs].
 */
@PulumiTagMarker
public class GetNatGatewayPlainArgsBuilder internal constructor() {
    private var natGatewayId: String? = null

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

    internal fun build(): GetNatGatewayPlainArgs = GetNatGatewayPlainArgs(
        natGatewayId = natGatewayId ?: throw PulumiNullFieldException("natGatewayId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy