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

com.pulumi.cloudflare.kotlin.inputs.AccessPolicyIncludeExternalEvaluationArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.AccessPolicyIncludeExternalEvaluationArgs.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 evaluateUrl The API endpoint containing your business logic.
 * @property keysUrl The API endpoint containing the key that Access uses to verify that the response came from your API.
 */
public data class AccessPolicyIncludeExternalEvaluationArgs(
    public val evaluateUrl: Output? = null,
    public val keysUrl: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.AccessPolicyIncludeExternalEvaluationArgs =
        com.pulumi.cloudflare.inputs.AccessPolicyIncludeExternalEvaluationArgs.builder()
            .evaluateUrl(evaluateUrl?.applyValue({ args0 -> args0 }))
            .keysUrl(keysUrl?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AccessPolicyIncludeExternalEvaluationArgs].
 */
@PulumiTagMarker
public class AccessPolicyIncludeExternalEvaluationArgsBuilder internal constructor() {
    private var evaluateUrl: Output? = null

    private var keysUrl: Output? = null

    /**
     * @param value The API endpoint containing your business logic.
     */
    @JvmName("eiculwqrrxdkspob")
    public suspend fun evaluateUrl(`value`: Output) {
        this.evaluateUrl = value
    }

    /**
     * @param value The API endpoint containing the key that Access uses to verify that the response came from your API.
     */
    @JvmName("xeuxkiskknpkjbmt")
    public suspend fun keysUrl(`value`: Output) {
        this.keysUrl = value
    }

    /**
     * @param value The API endpoint containing your business logic.
     */
    @JvmName("gtkmygsemiymkcik")
    public suspend fun evaluateUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.evaluateUrl = mapped
    }

    /**
     * @param value The API endpoint containing the key that Access uses to verify that the response came from your API.
     */
    @JvmName("miwnbflebcgavmyl")
    public suspend fun keysUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keysUrl = mapped
    }

    internal fun build(): AccessPolicyIncludeExternalEvaluationArgs =
        AccessPolicyIncludeExternalEvaluationArgs(
            evaluateUrl = evaluateUrl,
            keysUrl = keysUrl,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy