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

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

/**
 *
 * @property deidentifyTemplate If this template is specified, it will serve as the default de-identify template.
 * @property imageRedactTemplate If this template is specified, it will serve as the de-identify template for images.
 * @property structuredDeidentifyTemplate If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
 */
public data class PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs(
    public val deidentifyTemplate: Output? = null,
    public val imageRedactTemplate: Output? = null,
    public val structuredDeidentifyTemplate: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs.builder()
            .deidentifyTemplate(deidentifyTemplate?.applyValue({ args0 -> args0 }))
            .imageRedactTemplate(imageRedactTemplate?.applyValue({ args0 -> args0 }))
            .structuredDeidentifyTemplate(structuredDeidentifyTemplate?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs].
 */
@PulumiTagMarker
public class PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgsBuilder internal constructor() {
    private var deidentifyTemplate: Output? = null

    private var imageRedactTemplate: Output? = null

    private var structuredDeidentifyTemplate: Output? = null

    /**
     * @param value If this template is specified, it will serve as the default de-identify template.
     */
    @JvmName("tpyagugphwpqxnih")
    public suspend fun deidentifyTemplate(`value`: Output) {
        this.deidentifyTemplate = value
    }

    /**
     * @param value If this template is specified, it will serve as the de-identify template for images.
     */
    @JvmName("gjywhijquvphsokl")
    public suspend fun imageRedactTemplate(`value`: Output) {
        this.imageRedactTemplate = value
    }

    /**
     * @param value If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
     */
    @JvmName("lomxomgrmmjfbgkl")
    public suspend fun structuredDeidentifyTemplate(`value`: Output) {
        this.structuredDeidentifyTemplate = value
    }

    /**
     * @param value If this template is specified, it will serve as the default de-identify template.
     */
    @JvmName("gddtefuhlpcbrohg")
    public suspend fun deidentifyTemplate(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deidentifyTemplate = mapped
    }

    /**
     * @param value If this template is specified, it will serve as the de-identify template for images.
     */
    @JvmName("nfpoyvuhvtruopsb")
    public suspend fun imageRedactTemplate(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.imageRedactTemplate = mapped
    }

    /**
     * @param value If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
     */
    @JvmName("nxvflnketcpcawni")
    public suspend fun structuredDeidentifyTemplate(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.structuredDeidentifyTemplate = mapped
    }

    internal fun build(): PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs =
        PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs(
            deidentifyTemplate = deidentifyTemplate,
            imageRedactTemplate = imageRedactTemplate,
            structuredDeidentifyTemplate = structuredDeidentifyTemplate,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy