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.10.0.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 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 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()
            .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 schemaModifiedCadence:
        Output? = null

    private var tableModifiedCadence:
        Output? = null

    /**
     * @param value Governs when to update data profiles when a schema is modified
     * Structure is documented below.
     */
    @JvmName("gjawecfgasgtapsc")
    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("nhxvqcitsplysakd")
    public suspend fun tableModifiedCadence(`value`: Output) {
        this.tableModifiedCadence = value
    }

    /**
     * @param value Governs when to update data profiles when a schema is modified
     * Structure is documented below.
     */
    @JvmName("lfpaxydrkuwdmxxs")
    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("vfynkgnwruxpwltn")
    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("kfvdgpsbmtyxoedi")
    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("wmchekyljvswomqd")
    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(
            schemaModifiedCadence = schemaModifiedCadence,
            tableModifiedCadence = tableModifiedCadence,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy