![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.inputs.GetVpcPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.GetVpcPlainArgs.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 vpcId The ID of the VPC.
*/
public data class GetVpcPlainArgs(
public val vpcId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.GetVpcPlainArgs =
com.pulumi.awsnative.ec2.inputs.GetVpcPlainArgs.builder()
.vpcId(vpcId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetVpcPlainArgs].
*/
@PulumiTagMarker
public class GetVpcPlainArgsBuilder internal constructor() {
private var vpcId: String? = null
/**
* @param value The ID of the VPC.
*/
@JvmName("mrbajxcxkspaexeq")
public suspend fun vpcId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.vpcId = mapped
}
internal fun build(): GetVpcPlainArgs = GetVpcPlainArgs(
vpcId = vpcId ?: throw PulumiNullFieldException("vpcId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy