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

com.pulumi.azurenative.network.kotlin.outputs.CriterionResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A matching criteria which matches routes based on route prefix, community, and AS path.
 * @property asPath List of AS paths which this criteria matches.
 * @property community List of BGP communities which this criteria matches.
 * @property matchCondition Match condition to apply RouteMap rules.
 * @property routePrefix List of route prefixes which this criteria matches.
 */
public data class CriterionResponse(
    public val asPath: List? = null,
    public val community: List? = null,
    public val matchCondition: String? = null,
    public val routePrefix: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.network.outputs.CriterionResponse): CriterionResponse = CriterionResponse(
            asPath = javaType.asPath().map({ args0 -> args0 }),
            community = javaType.community().map({ args0 -> args0 }),
            matchCondition = javaType.matchCondition().map({ args0 -> args0 }).orElse(null),
            routePrefix = javaType.routePrefix().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy