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

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

package com.pulumi.azure.cdn.kotlin.inputs

import com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsRequestSchemeConditionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property matchValues The requests protocol to match. Possible values include `HTTP` or `HTTPS`.
 * @property negateCondition If `true` operator becomes the opposite of its value. Possible values `true` or `false`. Defaults to `false`. Details can be found in the `Condition Operator List` below.
 * @property operator Possible value `Equal`. Defaults to `Equal`.
 */
public data class FrontdoorRuleConditionsRequestSchemeConditionArgs(
    public val matchValues: Output? = null,
    public val negateCondition: Output? = null,
    public val `operator`: Output? = null,
) : ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsRequestSchemeConditionArgs =
        com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsRequestSchemeConditionArgs.builder()
            .matchValues(matchValues?.applyValue({ args0 -> args0 }))
            .negateCondition(negateCondition?.applyValue({ args0 -> args0 }))
            .`operator`(`operator`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FrontdoorRuleConditionsRequestSchemeConditionArgs].
 */
@PulumiTagMarker
public class FrontdoorRuleConditionsRequestSchemeConditionArgsBuilder internal constructor() {
    private var matchValues: Output? = null

    private var negateCondition: Output? = null

    private var `operator`: Output? = null

    /**
     * @param value The requests protocol to match. Possible values include `HTTP` or `HTTPS`.
     */
    @JvmName("oexrfrqgeqxaifbp")
    public suspend fun matchValues(`value`: Output) {
        this.matchValues = value
    }

    /**
     * @param value If `true` operator becomes the opposite of its value. Possible values `true` or `false`. Defaults to `false`. Details can be found in the `Condition Operator List` below.
     */
    @JvmName("mcarqkbvfwswnjfu")
    public suspend fun negateCondition(`value`: Output) {
        this.negateCondition = value
    }

    /**
     * @param value Possible value `Equal`. Defaults to `Equal`.
     */
    @JvmName("shswewhmxtsgbjbo")
    public suspend fun `operator`(`value`: Output) {
        this.`operator` = value
    }

    /**
     * @param value The requests protocol to match. Possible values include `HTTP` or `HTTPS`.
     */
    @JvmName("vjkglisfnrmfjins")
    public suspend fun matchValues(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.matchValues = mapped
    }

    /**
     * @param value If `true` operator becomes the opposite of its value. Possible values `true` or `false`. Defaults to `false`. Details can be found in the `Condition Operator List` below.
     */
    @JvmName("tbnbaoetlrscpexw")
    public suspend fun negateCondition(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.negateCondition = mapped
    }

    /**
     * @param value Possible value `Equal`. Defaults to `Equal`.
     */
    @JvmName("vvjrilcyqmfcckel")
    public suspend fun `operator`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`operator` = mapped
    }

    internal fun build(): FrontdoorRuleConditionsRequestSchemeConditionArgs =
        FrontdoorRuleConditionsRequestSchemeConditionArgs(
            matchValues = matchValues,
            negateCondition = negateCondition,
            `operator` = `operator`,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy