com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptionsArgs.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptionsArgs.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.Suppress
import kotlin.jvm.JvmName
/**
*
* @property returnAccessTokenFromAuthorizationEndpoint If true, the authorization endpoint will return an access token.
* @property returnIdTokenFromAuthorizationEndpoint If true, the authorization endpoint will return an id token.
*/
public data class ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptionsArgs(
public val returnAccessTokenFromAuthorizationEndpoint: Output? = null,
public val returnIdTokenFromAuthorizationEndpoint: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptionsArgs =
com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptionsArgs.builder()
.returnAccessTokenFromAuthorizationEndpoint(
returnAccessTokenFromAuthorizationEndpoint?.applyValue({ args0 ->
args0
}),
)
.returnIdTokenFromAuthorizationEndpoint(
returnIdTokenFromAuthorizationEndpoint?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptionsArgs].
*/
@PulumiTagMarker
public class ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptionsArgsBuilder internal constructor() {
private var returnAccessTokenFromAuthorizationEndpoint: Output? = null
private var returnIdTokenFromAuthorizationEndpoint: Output? = null
/**
* @param value If true, the authorization endpoint will return an access token.
*/
@JvmName("iqnqeikhcckvfyra")
public suspend fun returnAccessTokenFromAuthorizationEndpoint(`value`: Output) {
this.returnAccessTokenFromAuthorizationEndpoint = value
}
/**
* @param value If true, the authorization endpoint will return an id token.
*/
@JvmName("wgrbedqcahvupomq")
public suspend fun returnIdTokenFromAuthorizationEndpoint(`value`: Output) {
this.returnIdTokenFromAuthorizationEndpoint = value
}
/**
* @param value If true, the authorization endpoint will return an access token.
*/
@JvmName("axqydubsokvtddvg")
public suspend fun returnAccessTokenFromAuthorizationEndpoint(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.returnAccessTokenFromAuthorizationEndpoint = mapped
}
/**
* @param value If true, the authorization endpoint will return an id token.
*/
@JvmName("decwofgsqlpauwfn")
public suspend fun returnIdTokenFromAuthorizationEndpoint(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.returnIdTokenFromAuthorizationEndpoint = mapped
}
internal fun build(): ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptionsArgs =
ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptionsArgs(
returnAccessTokenFromAuthorizationEndpoint = returnAccessTokenFromAuthorizationEndpoint,
returnIdTokenFromAuthorizationEndpoint = returnIdTokenFromAuthorizationEndpoint,
)
}