![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cdn.kotlin.inputs.RemoteAddressMatchConditionParametersArgs.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.cdn.kotlin.inputs
import com.pulumi.azurenative.cdn.inputs.RemoteAddressMatchConditionParametersArgs.builder
import com.pulumi.azurenative.cdn.kotlin.enums.RemoteAddressOperator
import com.pulumi.azurenative.cdn.kotlin.enums.Transform
import com.pulumi.core.Either
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 kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Defines the parameters for RemoteAddress match conditions
* @property matchValues Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
* @property negateCondition Describes if this is negate condition or not
* @property operator Describes operator to be matched
* @property transforms List of transforms
* @property typeName
*/
public data class RemoteAddressMatchConditionParametersArgs(
public val matchValues: Output>? = null,
public val negateCondition: Output? = null,
public val `operator`: Output>,
public val transforms: Output>>? = null,
public val typeName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.cdn.inputs.RemoteAddressMatchConditionParametersArgs = com.pulumi.azurenative.cdn.inputs.RemoteAddressMatchConditionParametersArgs.builder()
.matchValues(matchValues?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.negateCondition(negateCondition?.applyValue({ args0 -> args0 }))
.`operator`(
`operator`.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.transforms(
transforms?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
})
}),
)
.typeName(typeName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RemoteAddressMatchConditionParametersArgs].
*/
@PulumiTagMarker
public class RemoteAddressMatchConditionParametersArgsBuilder internal constructor() {
private var matchValues: Output>? = null
private var negateCondition: Output? = null
private var `operator`: Output>? = null
private var transforms: Output>>? = null
private var typeName: Output? = null
/**
* @param value Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
*/
@JvmName("jaawinaoxqvxmcqi")
public suspend fun matchValues(`value`: Output>) {
this.matchValues = value
}
@JvmName("hpchidxekospqfic")
public suspend fun matchValues(vararg values: Output) {
this.matchValues = Output.all(values.asList())
}
/**
* @param values Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
*/
@JvmName("wtssuwhgsbifwdun")
public suspend fun matchValues(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy