com.pulumi.cloudflare.kotlin.inputs.AccessPolicyIncludeAuthContextArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
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.AccessPolicyIncludeAuthContextArgs.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 AccessPolicyIncludeAuthContextArgs(
public val acId: Output,
public val id: Output,
public val identityProviderId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.AccessPolicyIncludeAuthContextArgs =
com.pulumi.cloudflare.inputs.AccessPolicyIncludeAuthContextArgs.builder()
.acId(acId.applyValue({ args0 -> args0 }))
.id(id.applyValue({ args0 -> args0 }))
.identityProviderId(identityProviderId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessPolicyIncludeAuthContextArgs].
*/
@PulumiTagMarker
public class AccessPolicyIncludeAuthContextArgsBuilder 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("jsdpvsejjstqvwbm")
public suspend fun acId(`value`: Output) {
this.acId = value
}
/**
* @param value The ID of the Authentication Context.
*/
@JvmName("irdspubkwkpayxtb")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The ID of the Azure identity provider.
*/
@JvmName("ldvpdsosvicsovdv")
public suspend fun identityProviderId(`value`: Output) {
this.identityProviderId = value
}
/**
* @param value The ACID of the Authentication Context.
*/
@JvmName("fxwciwwsmcibhenl")
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("tvudqutyvojfrooy")
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("jgonmggxqnlfowis")
public suspend fun identityProviderId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.identityProviderId = mapped
}
internal fun build(): AccessPolicyIncludeAuthContextArgs = AccessPolicyIncludeAuthContextArgs(
acId = acId ?: throw PulumiNullFieldException("acId"),
id = id ?: throw PulumiNullFieldException("id"),
identityProviderId = identityProviderId ?: throw PulumiNullFieldException("identityProviderId"),
)
}