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

com.pulumi.awsnative.medialive.kotlin.outputs.NetworkRoute.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.medialive.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cidr Ip address cidr
 * @property gateway IP address for the route packet paths
 */
public data class NetworkRoute(
    public val cidr: String? = null,
    public val gateway: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.medialive.outputs.NetworkRoute): NetworkRoute = NetworkRoute(
            cidr = javaType.cidr().map({ args0 -> args0 }).orElse(null),
            gateway = javaType.gateway().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy