com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessApplicationScimConfigMappingArgs.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.ZeroTrustAccessApplicationScimConfigMappingArgs.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 enabled Whether or not this mapping is enabled.
* @property filter A [SCIM filter expression](https://datatracker.ietf.org/doc/html/rfc7644#section-3.4.2.2) that matches resources that should be provisioned to this application.
* @property operations Whether or not this mapping applies to creates, updates, or deletes.
* @property schema Which SCIM resource type this mapping applies to.
* @property transformJsonata A [JSONata](https://jsonata.org/) expression that transforms the resource before provisioning it in the application.
*/
public data class ZeroTrustAccessApplicationScimConfigMappingArgs(
public val enabled: Output? = null,
public val filter: Output? = null,
public val operations: Output? = null,
public val schema: Output,
public val transformJsonata: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationScimConfigMappingArgs =
com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationScimConfigMappingArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.filter(filter?.applyValue({ args0 -> args0 }))
.operations(operations?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.schema(schema.applyValue({ args0 -> args0 }))
.transformJsonata(transformJsonata?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZeroTrustAccessApplicationScimConfigMappingArgs].
*/
@PulumiTagMarker
public class ZeroTrustAccessApplicationScimConfigMappingArgsBuilder internal constructor() {
private var enabled: Output? = null
private var filter: Output? = null
private var operations: Output? = null
private var schema: Output? = null
private var transformJsonata: Output? = null
/**
* @param value Whether or not this mapping is enabled.
*/
@JvmName("pqgemkiywcqmtpos")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value A [SCIM filter expression](https://datatracker.ietf.org/doc/html/rfc7644#section-3.4.2.2) that matches resources that should be provisioned to this application.
*/
@JvmName("hopxbpldffudmgjq")
public suspend fun filter(`value`: Output) {
this.filter = value
}
/**
* @param value Whether or not this mapping applies to creates, updates, or deletes.
*/
@JvmName("cnrlaphowfncndtm")
public suspend fun operations(`value`: Output) {
this.operations = value
}
/**
* @param value Which SCIM resource type this mapping applies to.
*/
@JvmName("hmoamhgellqqxawx")
public suspend fun schema(`value`: Output) {
this.schema = value
}
/**
* @param value A [JSONata](https://jsonata.org/) expression that transforms the resource before provisioning it in the application.
*/
@JvmName("usgcevusklcjsqdh")
public suspend fun transformJsonata(`value`: Output) {
this.transformJsonata = value
}
/**
* @param value Whether or not this mapping is enabled.
*/
@JvmName("vrbvcncsjeedaxyy")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value A [SCIM filter expression](https://datatracker.ietf.org/doc/html/rfc7644#section-3.4.2.2) that matches resources that should be provisioned to this application.
*/
@JvmName("xelsairynjduivdp")
public suspend fun filter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.filter = mapped
}
/**
* @param value Whether or not this mapping applies to creates, updates, or deletes.
*/
@JvmName("dfshccryijflempc")
public suspend fun operations(`value`: ZeroTrustAccessApplicationScimConfigMappingOperationsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.operations = mapped
}
/**
* @param argument Whether or not this mapping applies to creates, updates, or deletes.
*/
@JvmName("ennkmolbdtlwnjum")
public suspend fun operations(argument: suspend ZeroTrustAccessApplicationScimConfigMappingOperationsArgsBuilder.() -> Unit) {
val toBeMapped =
ZeroTrustAccessApplicationScimConfigMappingOperationsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.operations = mapped
}
/**
* @param value Which SCIM resource type this mapping applies to.
*/
@JvmName("qcxnipbehaoonebv")
public suspend fun schema(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.schema = mapped
}
/**
* @param value A [JSONata](https://jsonata.org/) expression that transforms the resource before provisioning it in the application.
*/
@JvmName("xoiisjgndodbpywm")
public suspend fun transformJsonata(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.transformJsonata = mapped
}
internal fun build(): ZeroTrustAccessApplicationScimConfigMappingArgs =
ZeroTrustAccessApplicationScimConfigMappingArgs(
enabled = enabled,
filter = filter,
operations = operations,
schema = schema ?: throw PulumiNullFieldException("schema"),
transformJsonata = transformJsonata,
)
}