
com.pulumi.awsnative.vpclattice.kotlin.inputs.RuleHeaderMatchArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-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.awsnative.vpclattice.kotlin.inputs
import com.pulumi.awsnative.vpclattice.inputs.RuleHeaderMatchArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property caseSensitive Indicates whether the match is case sensitive.
* @property match The header match type.
* @property name The name of the header.
*/
public data class RuleHeaderMatchArgs(
public val caseSensitive: Output? = null,
public val match: Output,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.vpclattice.inputs.RuleHeaderMatchArgs =
com.pulumi.awsnative.vpclattice.inputs.RuleHeaderMatchArgs.builder()
.caseSensitive(caseSensitive?.applyValue({ args0 -> args0 }))
.match(match.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RuleHeaderMatchArgs].
*/
@PulumiTagMarker
public class RuleHeaderMatchArgsBuilder internal constructor() {
private var caseSensitive: Output? = null
private var match: Output? = null
private var name: Output? = null
/**
* @param value Indicates whether the match is case sensitive.
*/
@JvmName("idlsctevcaybeefv")
public suspend fun caseSensitive(`value`: Output) {
this.caseSensitive = value
}
/**
* @param value The header match type.
*/
@JvmName("fwttuxukvugefnlg")
public suspend fun match(`value`: Output) {
this.match = value
}
/**
* @param value The name of the header.
*/
@JvmName("xqkimxufvelmrmxo")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Indicates whether the match is case sensitive.
*/
@JvmName("ytnhlsurpggblwbm")
public suspend fun caseSensitive(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.caseSensitive = mapped
}
/**
* @param value The header match type.
*/
@JvmName("qncqveqqowxvgqrb")
public suspend fun match(`value`: RuleHeaderMatchTypeArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.match = mapped
}
/**
* @param argument The header match type.
*/
@JvmName("cdpkfobxambneyht")
public suspend fun match(argument: suspend RuleHeaderMatchTypeArgsBuilder.() -> Unit) {
val toBeMapped = RuleHeaderMatchTypeArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.match = mapped
}
/**
* @param value The name of the header.
*/
@JvmName("vtjvsjhhuxwippea")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): RuleHeaderMatchArgs = RuleHeaderMatchArgs(
caseSensitive = caseSensitive,
match = match ?: throw PulumiNullFieldException("match"),
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy