![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.vpclattice.kotlin.inputs.RulePathMatchArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.vpclattice.kotlin.inputs
import com.pulumi.awsnative.vpclattice.inputs.RulePathMatchArgs.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.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property caseSensitive Indicates whether the match is case sensitive.
* @property match The type of path match.
*/
public data class RulePathMatchArgs(
public val caseSensitive: Output? = null,
public val match: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.vpclattice.inputs.RulePathMatchArgs =
com.pulumi.awsnative.vpclattice.inputs.RulePathMatchArgs.builder()
.caseSensitive(caseSensitive?.applyValue({ args0 -> args0 }))
.match(match.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [RulePathMatchArgs].
*/
@PulumiTagMarker
public class RulePathMatchArgsBuilder internal constructor() {
private var caseSensitive: Output? = null
private var match: Output? = null
/**
* @param value Indicates whether the match is case sensitive.
*/
@JvmName("klcmwqyogjwuoeje")
public suspend fun caseSensitive(`value`: Output) {
this.caseSensitive = value
}
/**
* @param value The type of path match.
*/
@JvmName("irxlmplijvpewsoj")
public suspend fun match(`value`: Output) {
this.match = value
}
/**
* @param value Indicates whether the match is case sensitive.
*/
@JvmName("bockrmdyebeoctag")
public suspend fun caseSensitive(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.caseSensitive = mapped
}
/**
* @param value The type of path match.
*/
@JvmName("jybqdwibilryodns")
public suspend fun match(`value`: RulePathMatchTypeArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.match = mapped
}
/**
* @param argument The type of path match.
*/
@JvmName("lghuxscqkbutdfca")
public suspend fun match(argument: suspend RulePathMatchTypeArgsBuilder.() -> Unit) {
val toBeMapped = RulePathMatchTypeArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.match = mapped
}
internal fun build(): RulePathMatchArgs = RulePathMatchArgs(
caseSensitive = caseSensitive,
match = match ?: throw PulumiNullFieldException("match"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy