
com.pulumi.awsnative.ec2.kotlin.outputs.GetLocalGatewayRouteResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ec2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property localGatewayVirtualInterfaceGroupId The ID of the virtual interface group.
* @property networkInterfaceId The ID of the network interface.
* @property state The state of the route.
* @property type The route type.
*/
public data class GetLocalGatewayRouteResult(
public val localGatewayVirtualInterfaceGroupId: String? = null,
public val networkInterfaceId: String? = null,
public val state: String? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetLocalGatewayRouteResult): GetLocalGatewayRouteResult = GetLocalGatewayRouteResult(
localGatewayVirtualInterfaceGroupId = javaType.localGatewayVirtualInterfaceGroupId().map({ args0 ->
args0
}).orElse(null),
networkInterfaceId = javaType.networkInterfaceId().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy