com.pulumi.gcp.dataloss.kotlin.inputs.PreventionDiscoveryConfigTargetBigQueryTargetArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataloss.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetBigQueryTargetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property cadence How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity.
* Structure is documented below.
* @property conditions In addition to matching the filter, these conditions must be true before a profile is generated
* Structure is documented below.
* @property disabled Tables that match this filter will not have profiles created.
* @property filter Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table
* Structure is documented below.
*/
public data class PreventionDiscoveryConfigTargetBigQueryTargetArgs(
public val cadence: Output? = null,
public val conditions: Output? =
null,
public val disabled: Output? = null,
public val filter: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetBigQueryTargetArgs =
com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetBigQueryTargetArgs.builder()
.cadence(cadence?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.conditions(conditions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.disabled(disabled?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.filter(filter?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [PreventionDiscoveryConfigTargetBigQueryTargetArgs].
*/
@PulumiTagMarker
public class PreventionDiscoveryConfigTargetBigQueryTargetArgsBuilder internal constructor() {
private var cadence: Output? = null
private var conditions: Output? =
null
private var disabled: Output? = null
private var filter: Output? = null
/**
* @param value How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity.
* Structure is documented below.
*/
@JvmName("wfqbcjuxojrrgvgu")
public suspend fun cadence(`value`: Output) {
this.cadence = value
}
/**
* @param value In addition to matching the filter, these conditions must be true before a profile is generated
* Structure is documented below.
*/
@JvmName("davewhoggsdkpfhi")
public suspend fun conditions(`value`: Output) {
this.conditions = value
}
/**
* @param value Tables that match this filter will not have profiles created.
*/
@JvmName("qsuwtpcojqnvkxmu")
public suspend fun disabled(`value`: Output) {
this.disabled = value
}
/**
* @param value Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table
* Structure is documented below.
*/
@JvmName("nrmeegalxbflqvpw")
public suspend fun filter(`value`: Output) {
this.filter = value
}
/**
* @param value How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity.
* Structure is documented below.
*/
@JvmName("ijmeolkerpmdcdoj")
public suspend fun cadence(`value`: PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cadence = mapped
}
/**
* @param argument How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity.
* Structure is documented below.
*/
@JvmName("ifgpkyejoyiruxyg")
public suspend fun cadence(argument: suspend PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgsBuilder.() -> Unit) {
val toBeMapped = PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.cadence = mapped
}
/**
* @param value In addition to matching the filter, these conditions must be true before a profile is generated
* Structure is documented below.
*/
@JvmName("dcduficrqkdjqnrl")
public suspend fun conditions(`value`: PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.conditions = mapped
}
/**
* @param argument In addition to matching the filter, these conditions must be true before a profile is generated
* Structure is documented below.
*/
@JvmName("nbhlvigkjkisjgyw")
public suspend fun conditions(argument: suspend PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgsBuilder.() -> Unit) {
val toBeMapped =
PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.conditions = mapped
}
/**
* @param value Tables that match this filter will not have profiles created.
*/
@JvmName("sduxrqpwwlmvupbu")
public suspend fun disabled(`value`: PreventionDiscoveryConfigTargetBigQueryTargetDisabledArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disabled = mapped
}
/**
* @param argument Tables that match this filter will not have profiles created.
*/
@JvmName("mrvgdwvqmowklfvh")
public suspend fun disabled(argument: suspend PreventionDiscoveryConfigTargetBigQueryTargetDisabledArgsBuilder.() -> Unit) {
val toBeMapped =
PreventionDiscoveryConfigTargetBigQueryTargetDisabledArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.disabled = mapped
}
/**
* @param value Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table
* Structure is documented below.
*/
@JvmName("ccbrhopxjfucwfqf")
public suspend fun filter(`value`: PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.filter = mapped
}
/**
* @param argument Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table
* Structure is documented below.
*/
@JvmName("lewyigonbyxrhdgh")
public suspend fun filter(argument: suspend PreventionDiscoveryConfigTargetBigQueryTargetFilterArgsBuilder.() -> Unit) {
val toBeMapped = PreventionDiscoveryConfigTargetBigQueryTargetFilterArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.filter = mapped
}
internal fun build(): PreventionDiscoveryConfigTargetBigQueryTargetArgs =
PreventionDiscoveryConfigTargetBigQueryTargetArgs(
cadence = cadence,
conditions = conditions,
disabled = disabled,
filter = filter,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy