com.pulumi.aws.appmesh.kotlin.inputs.RouteSpecHttp2RouteMatchPathArgs.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.RouteSpecHttp2RouteMatchPathArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property exact The exact path to match on.
* @property regex The regex used to match the path.
*/
public data class RouteSpecHttp2RouteMatchPathArgs(
public val exact: Output? = null,
public val regex: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appmesh.inputs.RouteSpecHttp2RouteMatchPathArgs =
com.pulumi.aws.appmesh.inputs.RouteSpecHttp2RouteMatchPathArgs.builder()
.exact(exact?.applyValue({ args0 -> args0 }))
.regex(regex?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RouteSpecHttp2RouteMatchPathArgs].
*/
@PulumiTagMarker
public class RouteSpecHttp2RouteMatchPathArgsBuilder internal constructor() {
private var exact: Output? = null
private var regex: Output? = null
/**
* @param value The exact path to match on.
*/
@JvmName("phwbxquwvwmaerux")
public suspend fun exact(`value`: Output) {
this.exact = value
}
/**
* @param value The regex used to match the path.
*/
@JvmName("thpakwcubiijvnla")
public suspend fun regex(`value`: Output) {
this.regex = value
}
/**
* @param value The exact path to match on.
*/
@JvmName("yujaqcgvsutxdwkv")
public suspend fun exact(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.exact = mapped
}
/**
* @param value The regex used to match the path.
*/
@JvmName("ubiolrpgnqhlyphc")
public suspend fun regex(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.regex = mapped
}
internal fun build(): RouteSpecHttp2RouteMatchPathArgs = RouteSpecHttp2RouteMatchPathArgs(
exact = exact,
regex = regex,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy