com.pulumi.azure.paloalto.kotlin.VirtualNetworkApplianceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.paloalto.kotlin
import com.pulumi.azure.paloalto.VirtualNetworkApplianceArgs.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
/**
*
* @property name
* @property virtualHubId
*/
public data class VirtualNetworkApplianceArgs(
public val name: Output? = null,
public val virtualHubId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.paloalto.VirtualNetworkApplianceArgs =
com.pulumi.azure.paloalto.VirtualNetworkApplianceArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.virtualHubId(virtualHubId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VirtualNetworkApplianceArgs].
*/
@PulumiTagMarker
public class VirtualNetworkApplianceArgsBuilder internal constructor() {
private var name: Output? = null
private var virtualHubId: Output? = null
/**
* @param value
*/
@JvmName("oimrywvtunyakblb")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("dcsuxfivpbnakhnd")
public suspend fun virtualHubId(`value`: Output) {
this.virtualHubId = value
}
/**
* @param value
*/
@JvmName("kvxjflcttwpxtjek")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value
*/
@JvmName("lofwajamknhitahy")
public suspend fun virtualHubId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.virtualHubId = mapped
}
internal fun build(): VirtualNetworkApplianceArgs = VirtualNetworkApplianceArgs(
name = name,
virtualHubId = virtualHubId,
)
}