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

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.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.12.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.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.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 cloudStoragePath Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
 * Structure is documented below.
 * @property wordList List of words or phrases to search for.
 * Structure is documented below.
 */
public data class PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs(
    public val cloudStoragePath: Output? =
        null,
    public val wordList: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.builder()
            .cloudStoragePath(cloudStoragePath?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .wordList(wordList?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs].
 */
@PulumiTagMarker
public class
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgsBuilder
internal constructor() {
    private var cloudStoragePath:
        Output? =
        null

    private var wordList:
        Output? =
        null

    /**
     * @param value Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
     * Structure is documented below.
     */
    @JvmName("jktxlvsjomnoyxum")
    public suspend fun cloudStoragePath(`value`: Output) {
        this.cloudStoragePath = value
    }

    /**
     * @param value List of words or phrases to search for.
     * Structure is documented below.
     */
    @JvmName("lqfrefpqgskhnokc")
    public suspend fun wordList(`value`: Output) {
        this.wordList = value
    }

    /**
     * @param value Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
     * Structure is documented below.
     */
    @JvmName("cleyyrdkfpqmykcp")
    public suspend fun cloudStoragePath(`value`: PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cloudStoragePath = mapped
    }

    /**
     * @param argument Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
     * Structure is documented below.
     */
    @JvmName("elsmxmgnpupjhjau")
    public suspend fun cloudStoragePath(argument: suspend PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgsBuilder.() -> Unit) {
        val toBeMapped =
            PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.cloudStoragePath = mapped
    }

    /**
     * @param value List of words or phrases to search for.
     * Structure is documented below.
     */
    @JvmName("vipnvogtivnopfcl")
    public suspend fun wordList(`value`: PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.wordList = mapped
    }

    /**
     * @param argument List of words or phrases to search for.
     * Structure is documented below.
     */
    @JvmName("deukralxkfhujxlo")
    public suspend fun wordList(argument: suspend PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgsBuilder.() -> Unit) {
        val toBeMapped =
            PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.wordList = mapped
    }

    internal fun build(): PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs =
        PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs(
            cloudStoragePath = cloudStoragePath,
            wordList = wordList,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy