All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.13.1.0
Show newest version
@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.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs.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 inspectTemplateModifiedCadence Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
 * Structure is documented below.
 * @property schemaModifiedCadence Governs when to update data profiles when a schema is modified
 * Structure is documented below.
 * @property tableModifiedCadence Governs when to update profile when a table is modified.
 * Structure is documented below.
 */
public data class PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs(
    public val inspectTemplateModifiedCadence: Output? =
        null,
    public val schemaModifiedCadence: Output? = null,
    public val tableModifiedCadence: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs.builder()
            .inspectTemplateModifiedCadence(
                inspectTemplateModifiedCadence?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .schemaModifiedCadence(
                schemaModifiedCadence?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .tableModifiedCadence(
                tableModifiedCadence?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs].
 */
@PulumiTagMarker
public class PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgsBuilder internal constructor() {
    private var inspectTemplateModifiedCadence:
        Output? =
        null

    private var schemaModifiedCadence:
        Output? = null

    private var tableModifiedCadence:
        Output? = null

    /**
     * @param value Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
     * Structure is documented below.
     */
    @JvmName("akkkorqsnmwqcivy")
    public suspend fun inspectTemplateModifiedCadence(`value`: Output) {
        this.inspectTemplateModifiedCadence = value
    }

    /**
     * @param value Governs when to update data profiles when a schema is modified
     * Structure is documented below.
     */
    @JvmName("xlsrsjxngbdnyfvo")
    public suspend fun schemaModifiedCadence(`value`: Output) {
        this.schemaModifiedCadence = value
    }

    /**
     * @param value Governs when to update profile when a table is modified.
     * Structure is documented below.
     */
    @JvmName("ksyytsffixqjjgjq")
    public suspend fun tableModifiedCadence(`value`: Output) {
        this.tableModifiedCadence = value
    }

    /**
     * @param value Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
     * Structure is documented below.
     */
    @JvmName("lkvljmgqwwebyiuc")
    public suspend fun inspectTemplateModifiedCadence(`value`: PreventionDiscoveryConfigTargetBigQueryTargetCadenceInspectTemplateModifiedCadenceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.inspectTemplateModifiedCadence = mapped
    }

    /**
     * @param argument Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
     * Structure is documented below.
     */
    @JvmName("wjfppbkamxnkdigm")
    public suspend fun inspectTemplateModifiedCadence(argument: suspend PreventionDiscoveryConfigTargetBigQueryTargetCadenceInspectTemplateModifiedCadenceArgsBuilder.() -> Unit) {
        val toBeMapped =
            PreventionDiscoveryConfigTargetBigQueryTargetCadenceInspectTemplateModifiedCadenceArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.inspectTemplateModifiedCadence = mapped
    }

    /**
     * @param value Governs when to update data profiles when a schema is modified
     * Structure is documented below.
     */
    @JvmName("qjpraxutgdnxkauj")
    public suspend fun schemaModifiedCadence(`value`: PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.schemaModifiedCadence = mapped
    }

    /**
     * @param argument Governs when to update data profiles when a schema is modified
     * Structure is documented below.
     */
    @JvmName("mjrkxburmcusyviq")
    public suspend fun schemaModifiedCadence(argument: suspend PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgsBuilder.() -> Unit) {
        val toBeMapped =
            PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.schemaModifiedCadence = mapped
    }

    /**
     * @param value Governs when to update profile when a table is modified.
     * Structure is documented below.
     */
    @JvmName("odkpqmlxahwhstpy")
    public suspend fun tableModifiedCadence(`value`: PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tableModifiedCadence = mapped
    }

    /**
     * @param argument Governs when to update profile when a table is modified.
     * Structure is documented below.
     */
    @JvmName("qhfxitcyexvmyefx")
    public suspend fun tableModifiedCadence(argument: suspend PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgsBuilder.() -> Unit) {
        val toBeMapped =
            PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.tableModifiedCadence = mapped
    }

    internal fun build(): PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs =
        PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs(
            inspectTemplateModifiedCadence = inspectTemplateModifiedCadence,
            schemaModifiedCadence = schemaModifiedCadence,
            tableModifiedCadence = tableModifiedCadence,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy