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

com.pulumi.cloudflare.kotlin.inputs.AccessPolicyRequireAuthContextArgs.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.AccessPolicyRequireAuthContextArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property acId The ACID of the Authentication Context.
 * @property id The ID of the Authentication Context.
 * @property identityProviderId The ID of the Azure identity provider.
 */
public data class AccessPolicyRequireAuthContextArgs(
    public val acId: Output,
    public val id: Output,
    public val identityProviderId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.AccessPolicyRequireAuthContextArgs =
        com.pulumi.cloudflare.inputs.AccessPolicyRequireAuthContextArgs.builder()
            .acId(acId.applyValue({ args0 -> args0 }))
            .id(id.applyValue({ args0 -> args0 }))
            .identityProviderId(identityProviderId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AccessPolicyRequireAuthContextArgs].
 */
@PulumiTagMarker
public class AccessPolicyRequireAuthContextArgsBuilder internal constructor() {
    private var acId: Output? = null

    private var id: Output? = null

    private var identityProviderId: Output? = null

    /**
     * @param value The ACID of the Authentication Context.
     */
    @JvmName("cinstsoximuikltu")
    public suspend fun acId(`value`: Output) {
        this.acId = value
    }

    /**
     * @param value The ID of the Authentication Context.
     */
    @JvmName("rciisncuxmrsmavt")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The ID of the Azure identity provider.
     */
    @JvmName("tltkgmattadnwdxr")
    public suspend fun identityProviderId(`value`: Output) {
        this.identityProviderId = value
    }

    /**
     * @param value The ACID of the Authentication Context.
     */
    @JvmName("ohnrvofjojnehepq")
    public suspend fun acId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.acId = mapped
    }

    /**
     * @param value The ID of the Authentication Context.
     */
    @JvmName("ueaoluhiyytaoyxw")
    public suspend fun id(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value The ID of the Azure identity provider.
     */
    @JvmName("wwjrtfvvultvyafl")
    public suspend fun identityProviderId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.identityProviderId = mapped
    }

    internal fun build(): AccessPolicyRequireAuthContextArgs = AccessPolicyRequireAuthContextArgs(
        acId = acId ?: throw PulumiNullFieldException("acId"),
        id = id ?: throw PulumiNullFieldException("id"),
        identityProviderId = identityProviderId ?: throw PulumiNullFieldException("identityProviderId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy