![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessApplicationSaasAppCustomClaimArgs.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.ZeroTrustAccessApplicationSaasAppCustomClaimArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property name The name of the attribute as provided to the SaaS app.
* @property required True if the attribute must be always present.
* @property scope The scope of the claim.
* @property source
*/
public data class ZeroTrustAccessApplicationSaasAppCustomClaimArgs(
public val name: Output? = null,
public val required: Output? = null,
public val scope: Output? = null,
public val source: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationSaasAppCustomClaimArgs =
com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationSaasAppCustomClaimArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.required(required?.applyValue({ args0 -> args0 }))
.scope(scope?.applyValue({ args0 -> args0 }))
.source(source.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ZeroTrustAccessApplicationSaasAppCustomClaimArgs].
*/
@PulumiTagMarker
public class ZeroTrustAccessApplicationSaasAppCustomClaimArgsBuilder internal constructor() {
private var name: Output? = null
private var required: Output? = null
private var scope: Output? = null
private var source: Output? = null
/**
* @param value The name of the attribute as provided to the SaaS app.
*/
@JvmName("lftfptmfwlflduio")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value True if the attribute must be always present.
*/
@JvmName("nevmsohqhndhnkex")
public suspend fun required(`value`: Output) {
this.required = value
}
/**
* @param value The scope of the claim.
*/
@JvmName("nmitywfcleyyumry")
public suspend fun scope(`value`: Output) {
this.scope = value
}
/**
* @param value
*/
@JvmName("ukegmuwhufdjceoe")
public suspend fun source(`value`: Output) {
this.source = value
}
/**
* @param value The name of the attribute as provided to the SaaS app.
*/
@JvmName("ieyugqiclvqckgra")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value True if the attribute must be always present.
*/
@JvmName("iskhntxcuseexpkk")
public suspend fun required(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.required = mapped
}
/**
* @param value The scope of the claim.
*/
@JvmName("rsnmkppvkohowbvg")
public suspend fun scope(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scope = mapped
}
/**
* @param value
*/
@JvmName("lnbwnorxjfgchtpc")
public suspend fun source(`value`: ZeroTrustAccessApplicationSaasAppCustomClaimSourceArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.source = mapped
}
/**
* @param argument
*/
@JvmName("klxrpjycewtbrqvl")
public suspend fun source(argument: suspend ZeroTrustAccessApplicationSaasAppCustomClaimSourceArgsBuilder.() -> Unit) {
val toBeMapped = ZeroTrustAccessApplicationSaasAppCustomClaimSourceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.source = mapped
}
internal fun build(): ZeroTrustAccessApplicationSaasAppCustomClaimArgs =
ZeroTrustAccessApplicationSaasAppCustomClaimArgs(
name = name,
required = required,
scope = scope,
source = source ?: throw PulumiNullFieldException("source"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy