com.pulumi.alicloud.vpn.kotlin.outputs.ConnectionTunnelOptionsSpecificationTunnelIpsecConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-alicloud-kotlin Show documentation
Show all versions of pulumi-alicloud-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.alicloud.vpn.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property ipsecAuthAlg
* @property ipsecEncAlg
* @property ipsecLifetime
* @property ipsecPfs
*/
public data class ConnectionTunnelOptionsSpecificationTunnelIpsecConfig(
public val ipsecAuthAlg: String? = null,
public val ipsecEncAlg: String? = null,
public val ipsecLifetime: Int? = null,
public val ipsecPfs: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.alicloud.vpn.outputs.ConnectionTunnelOptionsSpecificationTunnelIpsecConfig): ConnectionTunnelOptionsSpecificationTunnelIpsecConfig =
ConnectionTunnelOptionsSpecificationTunnelIpsecConfig(
ipsecAuthAlg = javaType.ipsecAuthAlg().map({ args0 -> args0 }).orElse(null),
ipsecEncAlg = javaType.ipsecEncAlg().map({ args0 -> args0 }).orElse(null),
ipsecLifetime = javaType.ipsecLifetime().map({ args0 -> args0 }).orElse(null),
ipsecPfs = javaType.ipsecPfs().map({ args0 -> args0 }).orElse(null),
)
}
}