com.pulumi.cloudflare.kotlin.inputs.AccessApplicationSaasAppHybridAndImplicitOptionsArgs.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.AccessApplicationSaasAppHybridAndImplicitOptionsArgs.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 AccessApplicationSaasAppHybridAndImplicitOptionsArgs(
public val returnAccessTokenFromAuthorizationEndpoint: Output? = null,
public val returnIdTokenFromAuthorizationEndpoint: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.AccessApplicationSaasAppHybridAndImplicitOptionsArgs =
com.pulumi.cloudflare.inputs.AccessApplicationSaasAppHybridAndImplicitOptionsArgs.builder()
.returnAccessTokenFromAuthorizationEndpoint(
returnAccessTokenFromAuthorizationEndpoint?.applyValue({ args0 ->
args0
}),
)
.returnIdTokenFromAuthorizationEndpoint(
returnIdTokenFromAuthorizationEndpoint?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [AccessApplicationSaasAppHybridAndImplicitOptionsArgs].
*/
@PulumiTagMarker
public class AccessApplicationSaasAppHybridAndImplicitOptionsArgsBuilder 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("peggbxyidvcgnedd")
public suspend fun returnAccessTokenFromAuthorizationEndpoint(`value`: Output) {
this.returnAccessTokenFromAuthorizationEndpoint = value
}
/**
* @param value If true, the authorization endpoint will return an id token.
*/
@JvmName("rbbpxprhsouvddrf")
public suspend fun returnIdTokenFromAuthorizationEndpoint(`value`: Output) {
this.returnIdTokenFromAuthorizationEndpoint = value
}
/**
* @param value If true, the authorization endpoint will return an access token.
*/
@JvmName("lbwvkhtbnwvjcfhd")
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("ebwmhydfbxkryvhl")
public suspend fun returnIdTokenFromAuthorizationEndpoint(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.returnIdTokenFromAuthorizationEndpoint = mapped
}
internal fun build(): AccessApplicationSaasAppHybridAndImplicitOptionsArgs =
AccessApplicationSaasAppHybridAndImplicitOptionsArgs(
returnAccessTokenFromAuthorizationEndpoint = returnAccessTokenFromAuthorizationEndpoint,
returnIdTokenFromAuthorizationEndpoint = returnIdTokenFromAuthorizationEndpoint,
)
}