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

com.pulumi.azure.appplatform.kotlin.inputs.SpringCloudGatewayRouteConfigRouteArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appplatform.kotlin.inputs

import com.pulumi.azure.appplatform.inputs.SpringCloudGatewayRouteConfigRouteArgs.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 kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property classificationTags Specifies the classification tags which will be applied to methods in the generated OpenAPI documentation.
 * @property description Specifies the description which will be applied to methods in the generated OpenAPI documentation.
 * @property filters Specifies a list of filters which are used to modify the request before sending it to the target endpoint, or the received response.
 * @property order Specifies the route processing order.
 * @property predicates Specifies a list of conditions to evaluate a route for each request. Each predicate may be evaluated against request headers and parameter values. All of the predicates associated with a route must evaluate to true for the route to be matched to the request.
 * @property ssoValidationEnabled Should the sso validation be enabled?
 * @property title Specifies the title which will be applied to methods in the generated OpenAPI documentation.
 * @property tokenRelay Should pass currently-authenticated user's identity token to application service?
 * @property uri Specifies the full uri which will override `appName`.
 */
public data class SpringCloudGatewayRouteConfigRouteArgs(
    public val classificationTags: Output>? = null,
    public val description: Output? = null,
    public val filters: Output>? = null,
    public val order: Output,
    public val predicates: Output>? = null,
    public val ssoValidationEnabled: Output? = null,
    public val title: Output? = null,
    public val tokenRelay: Output? = null,
    public val uri: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appplatform.inputs.SpringCloudGatewayRouteConfigRouteArgs = com.pulumi.azure.appplatform.inputs.SpringCloudGatewayRouteConfigRouteArgs.builder()
        .classificationTags(classificationTags?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .description(description?.applyValue({ args0 -> args0 }))
        .filters(filters?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .order(order.applyValue({ args0 -> args0 }))
        .predicates(predicates?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .ssoValidationEnabled(ssoValidationEnabled?.applyValue({ args0 -> args0 }))
        .title(title?.applyValue({ args0 -> args0 }))
        .tokenRelay(tokenRelay?.applyValue({ args0 -> args0 }))
        .uri(uri?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SpringCloudGatewayRouteConfigRouteArgs].
 */
@PulumiTagMarker
public class SpringCloudGatewayRouteConfigRouteArgsBuilder internal constructor() {
    private var classificationTags: Output>? = null

    private var description: Output? = null

    private var filters: Output>? = null

    private var order: Output? = null

    private var predicates: Output>? = null

    private var ssoValidationEnabled: Output? = null

    private var title: Output? = null

    private var tokenRelay: Output? = null

    private var uri: Output? = null

    /**
     * @param value Specifies the classification tags which will be applied to methods in the generated OpenAPI documentation.
     */
    @JvmName("jsglvmmflqfadvlp")
    public suspend fun classificationTags(`value`: Output>) {
        this.classificationTags = value
    }

    @JvmName("kphijgbkiuaaqhpn")
    public suspend fun classificationTags(vararg values: Output) {
        this.classificationTags = Output.all(values.asList())
    }

    /**
     * @param values Specifies the classification tags which will be applied to methods in the generated OpenAPI documentation.
     */
    @JvmName("jwfhvpduyggudmph")
    public suspend fun classificationTags(values: List>) {
        this.classificationTags = Output.all(values)
    }

    /**
     * @param value Specifies the description which will be applied to methods in the generated OpenAPI documentation.
     */
    @JvmName("rplyysxfkqmsrptt")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Specifies a list of filters which are used to modify the request before sending it to the target endpoint, or the received response.
     */
    @JvmName("pirmrpsncnidvawi")
    public suspend fun filters(`value`: Output>) {
        this.filters = value
    }

    @JvmName("yihntexvfqyesyhf")
    public suspend fun filters(vararg values: Output) {
        this.filters = Output.all(values.asList())
    }

    /**
     * @param values Specifies a list of filters which are used to modify the request before sending it to the target endpoint, or the received response.
     */
    @JvmName("bgccisjprpvaoffa")
    public suspend fun filters(values: List>) {
        this.filters = Output.all(values)
    }

    /**
     * @param value Specifies the route processing order.
     */
    @JvmName("jgmvgterxyefpjff")
    public suspend fun order(`value`: Output) {
        this.order = value
    }

    /**
     * @param value Specifies a list of conditions to evaluate a route for each request. Each predicate may be evaluated against request headers and parameter values. All of the predicates associated with a route must evaluate to true for the route to be matched to the request.
     */
    @JvmName("vvbbiwarnldqhhts")
    public suspend fun predicates(`value`: Output>) {
        this.predicates = value
    }

    @JvmName("iqekdofefpskcool")
    public suspend fun predicates(vararg values: Output) {
        this.predicates = Output.all(values.asList())
    }

    /**
     * @param values Specifies a list of conditions to evaluate a route for each request. Each predicate may be evaluated against request headers and parameter values. All of the predicates associated with a route must evaluate to true for the route to be matched to the request.
     */
    @JvmName("cxxlqkjgurceetkt")
    public suspend fun predicates(values: List>) {
        this.predicates = Output.all(values)
    }

    /**
     * @param value Should the sso validation be enabled?
     */
    @JvmName("uvnjxlnfkrqhldvp")
    public suspend fun ssoValidationEnabled(`value`: Output) {
        this.ssoValidationEnabled = value
    }

    /**
     * @param value Specifies the title which will be applied to methods in the generated OpenAPI documentation.
     */
    @JvmName("mkrltcqagqhkydfl")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

    /**
     * @param value Should pass currently-authenticated user's identity token to application service?
     */
    @JvmName("wwmtmscholhlcrlm")
    public suspend fun tokenRelay(`value`: Output) {
        this.tokenRelay = value
    }

    /**
     * @param value Specifies the full uri which will override `appName`.
     */
    @JvmName("saglljigplivvqdj")
    public suspend fun uri(`value`: Output) {
        this.uri = value
    }

    /**
     * @param value Specifies the classification tags which will be applied to methods in the generated OpenAPI documentation.
     */
    @JvmName("faisjeadpljgsyum")
    public suspend fun classificationTags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.classificationTags = mapped
    }

    /**
     * @param values Specifies the classification tags which will be applied to methods in the generated OpenAPI documentation.
     */
    @JvmName("duyoxxuskimxrfdh")
    public suspend fun classificationTags(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.classificationTags = mapped
    }

    /**
     * @param value Specifies the description which will be applied to methods in the generated OpenAPI documentation.
     */
    @JvmName("txngwnmwowkjgwpx")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Specifies a list of filters which are used to modify the request before sending it to the target endpoint, or the received response.
     */
    @JvmName("yvdvmreaxynjktvj")
    public suspend fun filters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.filters = mapped
    }

    /**
     * @param values Specifies a list of filters which are used to modify the request before sending it to the target endpoint, or the received response.
     */
    @JvmName("wqvpwnipdfxwwvef")
    public suspend fun filters(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.filters = mapped
    }

    /**
     * @param value Specifies the route processing order.
     */
    @JvmName("hhegkgfyuwnvxnum")
    public suspend fun order(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.order = mapped
    }

    /**
     * @param value Specifies a list of conditions to evaluate a route for each request. Each predicate may be evaluated against request headers and parameter values. All of the predicates associated with a route must evaluate to true for the route to be matched to the request.
     */
    @JvmName("mhdsimmwyexxmitf")
    public suspend fun predicates(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.predicates = mapped
    }

    /**
     * @param values Specifies a list of conditions to evaluate a route for each request. Each predicate may be evaluated against request headers and parameter values. All of the predicates associated with a route must evaluate to true for the route to be matched to the request.
     */
    @JvmName("iowdiomhtctaabsy")
    public suspend fun predicates(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.predicates = mapped
    }

    /**
     * @param value Should the sso validation be enabled?
     */
    @JvmName("ttrbnbofxnvsovxh")
    public suspend fun ssoValidationEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ssoValidationEnabled = mapped
    }

    /**
     * @param value Specifies the title which will be applied to methods in the generated OpenAPI documentation.
     */
    @JvmName("hrywqsonmnumgrfe")
    public suspend fun title(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.title = mapped
    }

    /**
     * @param value Should pass currently-authenticated user's identity token to application service?
     */
    @JvmName("aablyirxucefpbgr")
    public suspend fun tokenRelay(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tokenRelay = mapped
    }

    /**
     * @param value Specifies the full uri which will override `appName`.
     */
    @JvmName("pbkvuxkoplllbxpm")
    public suspend fun uri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.uri = mapped
    }

    internal fun build(): SpringCloudGatewayRouteConfigRouteArgs =
        SpringCloudGatewayRouteConfigRouteArgs(
            classificationTags = classificationTags,
            description = description,
            filters = filters,
            order = order ?: throw PulumiNullFieldException("order"),
            predicates = predicates,
            ssoValidationEnabled = ssoValidationEnabled,
            title = title,
            tokenRelay = tokenRelay,
            uri = uri,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy