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

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.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.PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.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 PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryArgs(
    public val cloudStoragePath: Output? =
        null,
    public val wordList: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.builder()
            .cloudStoragePath(cloudStoragePath?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .wordList(wordList?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryArgs].
 */
@PulumiTagMarker
public class PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryArgsBuilder
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("hiqbujsfnytpopyq")
    public suspend fun cloudStoragePath(`value`: Output) {
        this.cloudStoragePath = value
    }

    /**
     * @param value List of words or phrases to search for.
     * Structure is documented below.
     */
    @JvmName("oosettwfgyaakflq")
    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("gfimoeripkgwcjdr")
    public suspend fun cloudStoragePath(`value`: PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs?) {
        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("bsmbivgcwtrfedqy")
    public suspend fun cloudStoragePath(argument: suspend PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgsBuilder.() -> Unit) {
        val toBeMapped =
            PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgsBuilder().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("mojnhesiavyvfqdb")
    public suspend fun wordList(`value`: PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs?) {
        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("fwqvovrillhddhpo")
    public suspend fun wordList(argument: suspend PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgsBuilder.() -> Unit) {
        val toBeMapped =
            PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.wordList = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy