
com.pulumi.azurenative.managednetworkfabric.kotlin.inputs.ConnectedSubnetArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.managednetworkfabric.kotlin.inputs
import com.pulumi.azurenative.managednetworkfabric.inputs.ConnectedSubnetArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Connected Subnet properties.
* @property annotation Switch configuration description.
* @property prefix Prefix of the connected Subnet.
*/
public data class ConnectedSubnetArgs(
public val `annotation`: Output? = null,
public val prefix: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.managednetworkfabric.inputs.ConnectedSubnetArgs =
com.pulumi.azurenative.managednetworkfabric.inputs.ConnectedSubnetArgs.builder()
.`annotation`(`annotation`?.applyValue({ args0 -> args0 }))
.prefix(prefix?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectedSubnetArgs].
*/
@PulumiTagMarker
public class ConnectedSubnetArgsBuilder internal constructor() {
private var `annotation`: Output? = null
private var prefix: Output? = null
/**
* @param value Switch configuration description.
*/
@JvmName("fwievbxwkxfcgqtu")
public suspend fun `annotation`(`value`: Output) {
this.`annotation` = value
}
/**
* @param value Prefix of the connected Subnet.
*/
@JvmName("lxuubegrwblhijgn")
public suspend fun prefix(`value`: Output) {
this.prefix = value
}
/**
* @param value Switch configuration description.
*/
@JvmName("rqppqvtvdgdkxfuq")
public suspend fun `annotation`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`annotation` = mapped
}
/**
* @param value Prefix of the connected Subnet.
*/
@JvmName("oqymaoqhahfqdrlq")
public suspend fun prefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.prefix = mapped
}
internal fun build(): ConnectedSubnetArgs = ConnectedSubnetArgs(
`annotation` = `annotation`,
prefix = prefix,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy