![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.outputs.CriterionResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.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