![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.inputs.GetSubnetPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.GetSubnetPlainArgs.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 ID of the subnet.
*/
public data class GetSubnetPlainArgs(
public val subnetId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.GetSubnetPlainArgs =
com.pulumi.awsnative.ec2.inputs.GetSubnetPlainArgs.builder()
.subnetId(subnetId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSubnetPlainArgs].
*/
@PulumiTagMarker
public class GetSubnetPlainArgsBuilder internal constructor() {
private var subnetId: String? = null
/**
* @param value The ID of the subnet.
*/
@JvmName("lmdsumhawbhxmouq")
public suspend fun subnetId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.subnetId = mapped
}
internal fun build(): GetSubnetPlainArgs = GetSubnetPlainArgs(
subnetId = subnetId ?: throw PulumiNullFieldException("subnetId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy