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

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs.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.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property frequency How frequently data profiles can be updated when tables are modified. Defaults to never.
 * Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
 * @property types The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
 * Each value may be one of: `TABLE_MODIFIED_TIMESTAMP`.
 */
public data class PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs(
    public val frequency: Output? = null,
    public val types: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs.builder()
            .frequency(frequency?.applyValue({ args0 -> args0 }))
            .types(types?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs].
 */
@PulumiTagMarker
public class PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgsBuilder
internal constructor() {
    private var frequency: Output? = null

    private var types: Output>? = null

    /**
     * @param value How frequently data profiles can be updated when tables are modified. Defaults to never.
     * Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
     */
    @JvmName("agcjqgbyfnhnkjeh")
    public suspend fun frequency(`value`: Output) {
        this.frequency = value
    }

    /**
     * @param value The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
     * Each value may be one of: `TABLE_MODIFIED_TIMESTAMP`.
     */
    @JvmName("clcdocyjqmhilphl")
    public suspend fun types(`value`: Output>) {
        this.types = value
    }

    @JvmName("tyrdfoqorgsrmamv")
    public suspend fun types(vararg values: Output) {
        this.types = Output.all(values.asList())
    }

    /**
     * @param values The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
     * Each value may be one of: `TABLE_MODIFIED_TIMESTAMP`.
     */
    @JvmName("mqdfyqjggodhgqro")
    public suspend fun types(values: List>) {
        this.types = Output.all(values)
    }

    /**
     * @param value How frequently data profiles can be updated when tables are modified. Defaults to never.
     * Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
     */
    @JvmName("giixyyrsrpjuucae")
    public suspend fun frequency(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.frequency = mapped
    }

    /**
     * @param value The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
     * Each value may be one of: `TABLE_MODIFIED_TIMESTAMP`.
     */
    @JvmName("ttcdlebgmceukkui")
    public suspend fun types(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.types = mapped
    }

    /**
     * @param values The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
     * Each value may be one of: `TABLE_MODIFIED_TIMESTAMP`.
     */
    @JvmName("utgsftgwusejfqxq")
    public suspend fun types(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.types = mapped
    }

    internal fun build(): PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs = PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs(
        frequency = frequency,
        types = types,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy