com.pulumi.cloudflare.kotlin.inputs.ZeroTrustDlpProfileContextAwarenessArgs.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.ZeroTrustDlpProfileContextAwarenessArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property enabled Scan the context of predefined entries to only return matches surrounded by keywords.
* @property skip Content types to exclude from context analysis and return all matches.
*/
public data class ZeroTrustDlpProfileContextAwarenessArgs(
public val enabled: Output,
public val skip: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustDlpProfileContextAwarenessArgs =
com.pulumi.cloudflare.inputs.ZeroTrustDlpProfileContextAwarenessArgs.builder()
.enabled(enabled.applyValue({ args0 -> args0 }))
.skip(skip.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ZeroTrustDlpProfileContextAwarenessArgs].
*/
@PulumiTagMarker
public class ZeroTrustDlpProfileContextAwarenessArgsBuilder internal constructor() {
private var enabled: Output? = null
private var skip: Output? = null
/**
* @param value Scan the context of predefined entries to only return matches surrounded by keywords.
*/
@JvmName("cfwjeafcpicjgwcq")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Content types to exclude from context analysis and return all matches.
*/
@JvmName("jbovrgeohhasnhkd")
public suspend fun skip(`value`: Output) {
this.skip = value
}
/**
* @param value Scan the context of predefined entries to only return matches surrounded by keywords.
*/
@JvmName("kbdrovwdxrkobghf")
public suspend fun enabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value Content types to exclude from context analysis and return all matches.
*/
@JvmName("evujyhhooygbganq")
public suspend fun skip(`value`: ZeroTrustDlpProfileContextAwarenessSkipArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.skip = mapped
}
/**
* @param argument Content types to exclude from context analysis and return all matches.
*/
@JvmName("wsxhvpebaqfnaowo")
public suspend fun skip(argument: suspend ZeroTrustDlpProfileContextAwarenessSkipArgsBuilder.() -> Unit) {
val toBeMapped = ZeroTrustDlpProfileContextAwarenessSkipArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.skip = mapped
}
internal fun build(): ZeroTrustDlpProfileContextAwarenessArgs =
ZeroTrustDlpProfileContextAwarenessArgs(
enabled = enabled ?: throw PulumiNullFieldException("enabled"),
skip = skip ?: throw PulumiNullFieldException("skip"),
)
}