![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.RouteMapRuleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.RouteMapRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property actions An `action` block as defined below.
* @property matchCriterions A `match_criterion` block as defined below.
* @property name The unique name for the rule.
* @property nextStepIfMatched The next step after the rule is evaluated. Possible values are `Continue`, `Terminate` and `Unknown`. Defaults to `Unknown`.
*/
public data class RouteMapRuleArgs(
public val actions: Output>? = null,
public val matchCriterions: Output>? = null,
public val name: Output,
public val nextStepIfMatched: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.RouteMapRuleArgs =
com.pulumi.azure.network.inputs.RouteMapRuleArgs.builder()
.actions(
actions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.matchCriterions(
matchCriterions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.nextStepIfMatched(nextStepIfMatched?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RouteMapRuleArgs].
*/
@PulumiTagMarker
public class RouteMapRuleArgsBuilder internal constructor() {
private var actions: Output>? = null
private var matchCriterions: Output>? = null
private var name: Output? = null
private var nextStepIfMatched: Output? = null
/**
* @param value An `action` block as defined below.
*/
@JvmName("pfweypalqqrexgju")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("svobljjlswpsaxxs")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values An `action` block as defined below.
*/
@JvmName("xwjdymcpmamwwfsf")
public suspend fun actions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy