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

@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("ckbmmqvyhtcjabml")
    public suspend fun classificationTags(`value`: Output>) {
        this.classificationTags = value
    }

    @JvmName("ydwfnlwktaaiatip")
    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("fimyoyrxfggdqxjr")
    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("athxxajyjrgvxmrm")
    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("hgwgwwvlcqqqqvcm")
    public suspend fun filters(`value`: Output>) {
        this.filters = value
    }

    @JvmName("hywipvccdibfqbkk")
    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("qnmwhlfntrliqbrd")
    public suspend fun filters(values: List>) {
        this.filters = Output.all(values)
    }

    /**
     * @param value Specifies the route processing order.
     */
    @JvmName("ghlovocasctgvlfi")
    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("yqpwgsjswwhsvidq")
    public suspend fun predicates(`value`: Output>) {
        this.predicates = value
    }

    @JvmName("sagwbtdmmwosykxb")
    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("fcsxyhdcbtfwggrg")
    public suspend fun predicates(values: List>) {
        this.predicates = Output.all(values)
    }

    /**
     * @param value Should the sso validation be enabled?
     */
    @JvmName("kshaspgxbjvrpuyu")
    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("ywuypdvoxxiwglre")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

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

    /**
     * @param value Specifies the full uri which will override `appName`.
     */
    @JvmName("dggyeosqayowkdqu")
    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("nuknymgsluidjnhb")
    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("qlaotwijxwcnbqtc")
    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("oafmwpyqumcahmok")
    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("eexckpvcinpvyukm")
    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("ceksunxkpcbqaavm")
    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("ytqqlmuiwhprdayo")
    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("gbpoxinwrgdvaoxv")
    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("nivsnmbnlhjdanck")
    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("hoqjtxfevasnjfha")
    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("wxhqaxlovdexscxs")
    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("esyssprtekaemdcs")
    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("ulnvlcjdnoianwmy")
    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