com.pulumi.azure.paloalto.kotlin.inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.paloalto.kotlin.inputs
import com.pulumi.azure.paloalto.inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property port
* @property publicIpAddress
*/
public data class NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs(
public val port: Output,
public val publicIpAddress: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.paloalto.inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs =
com.pulumi.azure.paloalto.inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs.builder()
.port(port.applyValue({ args0 -> args0 }))
.publicIpAddress(publicIpAddress.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs].
*/
@PulumiTagMarker
public class NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgsBuilder
internal constructor() {
private var port: Output? = null
private var publicIpAddress: Output? = null
/**
* @param value
*/
@JvmName("syradavpxriooxtb")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value
*/
@JvmName("bvukgpsxvuhxdgjj")
public suspend fun publicIpAddress(`value`: Output) {
this.publicIpAddress = value
}
/**
* @param value
*/
@JvmName("dcimsgftabynumhb")
public suspend fun port(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.port = mapped
}
/**
* @param value
*/
@JvmName("wagwrdrxiijewmkr")
public suspend fun publicIpAddress(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.publicIpAddress = mapped
}
internal fun build():
NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs =
NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs(
port = port ?: throw PulumiNullFieldException("port"),
publicIpAddress = publicIpAddress ?: throw PulumiNullFieldException("publicIpAddress"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy