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

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

@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.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs.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 Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
 * Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
 * @property types The types of schema modifications to consider. Defaults to NEW_COLUMNS.
 * Each value may be one of: `NEW_COLUMNS`, `REMOVED_COLUMNS`.
 */
public data class
PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs(
    public val frequency: Output? = null,
    public val types: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs.builder()
            .frequency(frequency?.applyValue({ args0 -> args0 }))
            .types(types?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var types: Output>? = null

    /**
     * @param value Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
     * Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
     */
    @JvmName("ttjhounsjfjnmydp")
    public suspend fun frequency(`value`: Output) {
        this.frequency = value
    }

    /**
     * @param value The types of schema modifications to consider. Defaults to NEW_COLUMNS.
     * Each value may be one of: `NEW_COLUMNS`, `REMOVED_COLUMNS`.
     */
    @JvmName("yexwmdaxkogaxqcu")
    public suspend fun types(`value`: Output>) {
        this.types = value
    }

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

    /**
     * @param values The types of schema modifications to consider. Defaults to NEW_COLUMNS.
     * Each value may be one of: `NEW_COLUMNS`, `REMOVED_COLUMNS`.
     */
    @JvmName("wmyxhqoacdhfwvqo")
    public suspend fun types(values: List>) {
        this.types = Output.all(values)
    }

    /**
     * @param value Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
     * Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
     */
    @JvmName("ofnvmrbxoctcjbtv")
    public suspend fun frequency(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.frequency = mapped
    }

    /**
     * @param value The types of schema modifications to consider. Defaults to NEW_COLUMNS.
     * Each value may be one of: `NEW_COLUMNS`, `REMOVED_COLUMNS`.
     */
    @JvmName("krnbulovoexdjjoh")
    public suspend fun types(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.types = mapped
    }

    /**
     * @param values The types of schema modifications to consider. Defaults to NEW_COLUMNS.
     * Each value may be one of: `NEW_COLUMNS`, `REMOVED_COLUMNS`.
     */
    @JvmName("ffsteryejtpjowkl")
    public suspend fun types(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.types = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy