com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessApplicationSaasAppCustomAttributeArgs.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.ZeroTrustAccessApplicationSaasAppCustomAttributeArgs.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 friendlyName A friendly name for the attribute as provided to the SaaS app.
* @property name The name of the attribute as provided to the SaaS app.
* @property nameFormat A globally unique name for an identity or service provider.
* @property required True if the attribute must be always present.
* @property source
*/
public data class ZeroTrustAccessApplicationSaasAppCustomAttributeArgs(
public val friendlyName: Output? = null,
public val name: Output? = null,
public val nameFormat: Output? = null,
public val required: Output? = null,
public val source: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationSaasAppCustomAttributeArgs =
com.pulumi.cloudflare.inputs.ZeroTrustAccessApplicationSaasAppCustomAttributeArgs.builder()
.friendlyName(friendlyName?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.nameFormat(nameFormat?.applyValue({ args0 -> args0 }))
.required(required?.applyValue({ args0 -> args0 }))
.source(source.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ZeroTrustAccessApplicationSaasAppCustomAttributeArgs].
*/
@PulumiTagMarker
public class ZeroTrustAccessApplicationSaasAppCustomAttributeArgsBuilder internal constructor() {
private var friendlyName: Output? = null
private var name: Output? = null
private var nameFormat: Output? = null
private var required: Output? = null
private var source: Output? = null
/**
* @param value A friendly name for the attribute as provided to the SaaS app.
*/
@JvmName("nklmianmynfhxdem")
public suspend fun friendlyName(`value`: Output) {
this.friendlyName = value
}
/**
* @param value The name of the attribute as provided to the SaaS app.
*/
@JvmName("xjhogebndyglkwsa")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A globally unique name for an identity or service provider.
*/
@JvmName("bfjrvayoglbahxvs")
public suspend fun nameFormat(`value`: Output) {
this.nameFormat = value
}
/**
* @param value True if the attribute must be always present.
*/
@JvmName("doredttdeorofjuj")
public suspend fun required(`value`: Output) {
this.required = value
}
/**
* @param value
*/
@JvmName("xycjgalvtvhvemra")
public suspend fun source(`value`: Output) {
this.source = value
}
/**
* @param value A friendly name for the attribute as provided to the SaaS app.
*/
@JvmName("jsjkimkafjgrspcv")
public suspend fun friendlyName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.friendlyName = mapped
}
/**
* @param value The name of the attribute as provided to the SaaS app.
*/
@JvmName("nnyedwcrwggvemqn")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value A globally unique name for an identity or service provider.
*/
@JvmName("afdpiitifecmfncj")
public suspend fun nameFormat(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.nameFormat = mapped
}
/**
* @param value True if the attribute must be always present.
*/
@JvmName("mxpnreuowcalxnsd")
public suspend fun required(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.required = mapped
}
/**
* @param value
*/
@JvmName("orqljhvdvvthidil")
public suspend fun source(`value`: ZeroTrustAccessApplicationSaasAppCustomAttributeSourceArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.source = mapped
}
/**
* @param argument
*/
@JvmName("chutbuuohovtrgej")
public suspend fun source(argument: suspend ZeroTrustAccessApplicationSaasAppCustomAttributeSourceArgsBuilder.() -> Unit) {
val toBeMapped =
ZeroTrustAccessApplicationSaasAppCustomAttributeSourceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.source = mapped
}
internal fun build(): ZeroTrustAccessApplicationSaasAppCustomAttributeArgs =
ZeroTrustAccessApplicationSaasAppCustomAttributeArgs(
friendlyName = friendlyName,
name = name,
nameFormat = nameFormat,
required = required,
source = source ?: throw PulumiNullFieldException("source"),
)
}