All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ec2.kotlin.outputs.GetLocalGatewayRouteResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@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