com.pulumi.gcp.dataloss.kotlin.inputs.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs.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.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
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 refreshFrequency Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
* Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
*/
public data class PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs(
public val inspectTemplateModifiedCadence: Output? =
null,
public val refreshFrequency: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs =
com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs.builder()
.inspectTemplateModifiedCadence(
inspectTemplateModifiedCadence?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.refreshFrequency(refreshFrequency?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs].
*/
@PulumiTagMarker
public class PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgsBuilder internal constructor() {
private var inspectTemplateModifiedCadence:
Output? =
null
private var refreshFrequency: 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("ggfgvtlumtocqcvy")
public suspend fun inspectTemplateModifiedCadence(`value`: Output) {
this.inspectTemplateModifiedCadence = value
}
/**
* @param value Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
* Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
*/
@JvmName("ejerlecpaijswqdu")
public suspend fun refreshFrequency(`value`: Output) {
this.refreshFrequency = 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("gfjpxwagaavsjffo")
public suspend fun inspectTemplateModifiedCadence(`value`: PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadenceArgs?) {
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("swybxnjgpglmxhbs")
public suspend fun inspectTemplateModifiedCadence(argument: suspend PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadenceArgsBuilder.() -> Unit) {
val toBeMapped =
PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadenceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.inspectTemplateModifiedCadence = mapped
}
/**
* @param value Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
* Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
*/
@JvmName("wkjubdveublkltxx")
public suspend fun refreshFrequency(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.refreshFrequency = mapped
}
internal fun build(): PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs =
PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs(
inspectTemplateModifiedCadence = inspectTemplateModifiedCadence,
refreshFrequency = refreshFrequency,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy