All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.appmesh.kotlin.inputs.RouteSpecHttpRouteMatchPathArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.appmesh.kotlin.inputs

import com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteMatchPathArgs.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 RouteSpecHttpRouteMatchPathArgs(
    public val exact: Output? = null,
    public val regex: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteMatchPathArgs =
        com.pulumi.aws.appmesh.inputs.RouteSpecHttpRouteMatchPathArgs.builder()
            .exact(exact?.applyValue({ args0 -> args0 }))
            .regex(regex?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RouteSpecHttpRouteMatchPathArgs].
 */
@PulumiTagMarker
public class RouteSpecHttpRouteMatchPathArgsBuilder internal constructor() {
    private var exact: Output? = null

    private var regex: Output? = null

    /**
     * @param value The exact path to match on.
     */
    @JvmName("wxbjfkihtxogheec")
    public suspend fun exact(`value`: Output) {
        this.exact = value
    }

    /**
     * @param value The regex used to match the path.
     */
    @JvmName("pmyslrmpikachftj")
    public suspend fun regex(`value`: Output) {
        this.regex = value
    }

    /**
     * @param value The exact path to match on.
     */
    @JvmName("piyxjdfhuvixoiim")
    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("ulpmavdvyrplsvbk")
    public suspend fun regex(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.regex = mapped
    }

    internal fun build(): RouteSpecHttpRouteMatchPathArgs = RouteSpecHttpRouteMatchPathArgs(
        exact = exact,
        regex = regex,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy