com.pulumi.gcp.networkservices.kotlin.inputs.HttpRouteRuleMatchQueryParameterArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.networkservices.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networkservices.inputs.HttpRouteRuleMatchQueryParameterArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property exactMatch The value of the query parameter must exactly match the contents of exactMatch.
* @property presentMatch Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not.
* @property queryParameter The name of the query parameter to match.
* @property regexMatch The value of the query parameter must match the regular expression specified by regexMatch.For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax
*/
public data class HttpRouteRuleMatchQueryParameterArgs(
public val exactMatch: Output? = null,
public val presentMatch: Output? = null,
public val queryParameter: Output? = null,
public val regexMatch: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networkservices.inputs.HttpRouteRuleMatchQueryParameterArgs = com.pulumi.gcp.networkservices.inputs.HttpRouteRuleMatchQueryParameterArgs.builder()
.exactMatch(exactMatch?.applyValue({ args0 -> args0 }))
.presentMatch(presentMatch?.applyValue({ args0 -> args0 }))
.queryParameter(queryParameter?.applyValue({ args0 -> args0 }))
.regexMatch(regexMatch?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HttpRouteRuleMatchQueryParameterArgs].
*/
@PulumiTagMarker
public class HttpRouteRuleMatchQueryParameterArgsBuilder internal constructor() {
private var exactMatch: Output? = null
private var presentMatch: Output? = null
private var queryParameter: Output? = null
private var regexMatch: Output? = null
/**
* @param value The value of the query parameter must exactly match the contents of exactMatch.
*/
@JvmName("lntbxictwxsrfqro")
public suspend fun exactMatch(`value`: Output) {
this.exactMatch = value
}
/**
* @param value Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not.
*/
@JvmName("mogycosxsjwkoylq")
public suspend fun presentMatch(`value`: Output) {
this.presentMatch = value
}
/**
* @param value The name of the query parameter to match.
*/
@JvmName("otjhdxbbrfmxxaub")
public suspend fun queryParameter(`value`: Output) {
this.queryParameter = value
}
/**
* @param value The value of the query parameter must match the regular expression specified by regexMatch.For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax
*/
@JvmName("jqsmhalgfisqosrg")
public suspend fun regexMatch(`value`: Output) {
this.regexMatch = value
}
/**
* @param value The value of the query parameter must exactly match the contents of exactMatch.
*/
@JvmName("ffjxqvjpcjrhnrtx")
public suspend fun exactMatch(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.exactMatch = mapped
}
/**
* @param value Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not.
*/
@JvmName("apdnuwjsqnvwcvwl")
public suspend fun presentMatch(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.presentMatch = mapped
}
/**
* @param value The name of the query parameter to match.
*/
@JvmName("wfvfwdvhsnmurnul")
public suspend fun queryParameter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.queryParameter = mapped
}
/**
* @param value The value of the query parameter must match the regular expression specified by regexMatch.For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax
*/
@JvmName("xkkhhiehsihlxauk")
public suspend fun regexMatch(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.regexMatch = mapped
}
internal fun build(): HttpRouteRuleMatchQueryParameterArgs = HttpRouteRuleMatchQueryParameterArgs(
exactMatch = exactMatch,
presentMatch = presentMatch,
queryParameter = queryParameter,
regexMatch = regexMatch,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy