com.pulumi.aws.appmesh.kotlin.inputs.RouteSpecHttp2RouteMatchHeaderMatchArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.appmesh.kotlin.inputs
import com.pulumi.aws.appmesh.inputs.RouteSpecHttp2RouteMatchHeaderMatchArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property exact Header value sent by the client must match the specified value exactly.
* @property prefix Header value sent by the client must begin with the specified characters.
* @property range Object that specifies the range of numbers that the header value sent by the client must be included in.
* @property regex Header value sent by the client must include the specified characters.
* @property suffix Header value sent by the client must end with the specified characters.
*/
public data class RouteSpecHttp2RouteMatchHeaderMatchArgs(
public val exact: Output? = null,
public val prefix: Output? = null,
public val range: Output? = null,
public val regex: Output? = null,
public val suffix: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appmesh.inputs.RouteSpecHttp2RouteMatchHeaderMatchArgs =
com.pulumi.aws.appmesh.inputs.RouteSpecHttp2RouteMatchHeaderMatchArgs.builder()
.exact(exact?.applyValue({ args0 -> args0 }))
.prefix(prefix?.applyValue({ args0 -> args0 }))
.range(range?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.regex(regex?.applyValue({ args0 -> args0 }))
.suffix(suffix?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RouteSpecHttp2RouteMatchHeaderMatchArgs].
*/
@PulumiTagMarker
public class RouteSpecHttp2RouteMatchHeaderMatchArgsBuilder internal constructor() {
private var exact: Output? = null
private var prefix: Output? = null
private var range: Output? = null
private var regex: Output? = null
private var suffix: Output? = null
/**
* @param value Header value sent by the client must match the specified value exactly.
*/
@JvmName("tntgsgjpyltvktso")
public suspend fun exact(`value`: Output) {
this.exact = value
}
/**
* @param value Header value sent by the client must begin with the specified characters.
*/
@JvmName("igfikywnmwihvloc")
public suspend fun prefix(`value`: Output) {
this.prefix = value
}
/**
* @param value Object that specifies the range of numbers that the header value sent by the client must be included in.
*/
@JvmName("urhplijbowodtmur")
public suspend fun range(`value`: Output) {
this.range = value
}
/**
* @param value Header value sent by the client must include the specified characters.
*/
@JvmName("sbwvxojlcewqopni")
public suspend fun regex(`value`: Output) {
this.regex = value
}
/**
* @param value Header value sent by the client must end with the specified characters.
*/
@JvmName("vjheayrvthorwksq")
public suspend fun suffix(`value`: Output) {
this.suffix = value
}
/**
* @param value Header value sent by the client must match the specified value exactly.
*/
@JvmName("jxjwjhpbnlclpfox")
public suspend fun exact(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.exact = mapped
}
/**
* @param value Header value sent by the client must begin with the specified characters.
*/
@JvmName("abyoqsfyfbtmfghb")
public suspend fun prefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.prefix = mapped
}
/**
* @param value Object that specifies the range of numbers that the header value sent by the client must be included in.
*/
@JvmName("fkqmugssqrmqpfet")
public suspend fun range(`value`: RouteSpecHttp2RouteMatchHeaderMatchRangeArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.range = mapped
}
/**
* @param argument Object that specifies the range of numbers that the header value sent by the client must be included in.
*/
@JvmName("mnikpxdlujgqifeu")
public suspend fun range(argument: suspend RouteSpecHttp2RouteMatchHeaderMatchRangeArgsBuilder.() -> Unit) {
val toBeMapped = RouteSpecHttp2RouteMatchHeaderMatchRangeArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.range = mapped
}
/**
* @param value Header value sent by the client must include the specified characters.
*/
@JvmName("mqrbysttifsdckte")
public suspend fun regex(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.regex = mapped
}
/**
* @param value Header value sent by the client must end with the specified characters.
*/
@JvmName("jcvqvvdallmccmsk")
public suspend fun suffix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.suffix = mapped
}
internal fun build(): RouteSpecHttp2RouteMatchHeaderMatchArgs =
RouteSpecHttp2RouteMatchHeaderMatchArgs(
exact = exact,
prefix = prefix,
range = range,
regex = regex,
suffix = suffix,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy