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

com.pulumi.awsnative.databrew.kotlin.inputs.JobEntityDetectorConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.databrew.kotlin.inputs

import com.pulumi.awsnative.databrew.inputs.JobEntityDetectorConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property allowedStatistics Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.
 * @property entityTypes Entity types to detect. Can be any of the following:
 * - USA_SSN
 * - EMAIL
 * - USA_ITIN
 * - USA_PASSPORT_NUMBER
 * - PHONE_NUMBER
 * - USA_DRIVING_LICENSE
 * - BANK_ACCOUNT
 * - CREDIT_CARD
 * - IP_ADDRESS
 * - MAC_ADDRESS
 * - USA_DEA_NUMBER
 * - USA_HCPCS_CODE
 * - USA_NATIONAL_PROVIDER_IDENTIFIER
 * - USA_NATIONAL_DRUG_CODE
 * - USA_HEALTH_INSURANCE_CLAIM_NUMBER
 * - USA_MEDICARE_BENEFICIARY_IDENTIFIER
 * - USA_CPT_CODE
 * - PERSON_NAME
 * - DATE
 * The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
 */
public data class JobEntityDetectorConfigurationArgs(
    public val allowedStatistics: Output? = null,
    public val entityTypes: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.databrew.inputs.JobEntityDetectorConfigurationArgs =
        com.pulumi.awsnative.databrew.inputs.JobEntityDetectorConfigurationArgs.builder()
            .allowedStatistics(allowedStatistics?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .entityTypes(entityTypes.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [JobEntityDetectorConfigurationArgs].
 */
@PulumiTagMarker
public class JobEntityDetectorConfigurationArgsBuilder internal constructor() {
    private var allowedStatistics: Output? = null

    private var entityTypes: Output>? = null

    /**
     * @param value Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.
     */
    @JvmName("ysdmnquwdsufjwpq")
    public suspend fun allowedStatistics(`value`: Output) {
        this.allowedStatistics = value
    }

    /**
     * @param value Entity types to detect. Can be any of the following:
     * - USA_SSN
     * - EMAIL
     * - USA_ITIN
     * - USA_PASSPORT_NUMBER
     * - PHONE_NUMBER
     * - USA_DRIVING_LICENSE
     * - BANK_ACCOUNT
     * - CREDIT_CARD
     * - IP_ADDRESS
     * - MAC_ADDRESS
     * - USA_DEA_NUMBER
     * - USA_HCPCS_CODE
     * - USA_NATIONAL_PROVIDER_IDENTIFIER
     * - USA_NATIONAL_DRUG_CODE
     * - USA_HEALTH_INSURANCE_CLAIM_NUMBER
     * - USA_MEDICARE_BENEFICIARY_IDENTIFIER
     * - USA_CPT_CODE
     * - PERSON_NAME
     * - DATE
     * The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
     */
    @JvmName("irxgpybpkgitralq")
    public suspend fun entityTypes(`value`: Output>) {
        this.entityTypes = value
    }

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

    /**
     * @param values Entity types to detect. Can be any of the following:
     * - USA_SSN
     * - EMAIL
     * - USA_ITIN
     * - USA_PASSPORT_NUMBER
     * - PHONE_NUMBER
     * - USA_DRIVING_LICENSE
     * - BANK_ACCOUNT
     * - CREDIT_CARD
     * - IP_ADDRESS
     * - MAC_ADDRESS
     * - USA_DEA_NUMBER
     * - USA_HCPCS_CODE
     * - USA_NATIONAL_PROVIDER_IDENTIFIER
     * - USA_NATIONAL_DRUG_CODE
     * - USA_HEALTH_INSURANCE_CLAIM_NUMBER
     * - USA_MEDICARE_BENEFICIARY_IDENTIFIER
     * - USA_CPT_CODE
     * - PERSON_NAME
     * - DATE
     * The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
     */
    @JvmName("jalrbnwqkdjovivn")
    public suspend fun entityTypes(values: List>) {
        this.entityTypes = Output.all(values)
    }

    /**
     * @param value Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.
     */
    @JvmName("nbyqjdnttpmenbks")
    public suspend fun allowedStatistics(`value`: JobAllowedStatisticsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowedStatistics = mapped
    }

    /**
     * @param argument Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.
     */
    @JvmName("thjrpcshswhujypg")
    public suspend fun allowedStatistics(argument: suspend JobAllowedStatisticsArgsBuilder.() -> Unit) {
        val toBeMapped = JobAllowedStatisticsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.allowedStatistics = mapped
    }

    /**
     * @param value Entity types to detect. Can be any of the following:
     * - USA_SSN
     * - EMAIL
     * - USA_ITIN
     * - USA_PASSPORT_NUMBER
     * - PHONE_NUMBER
     * - USA_DRIVING_LICENSE
     * - BANK_ACCOUNT
     * - CREDIT_CARD
     * - IP_ADDRESS
     * - MAC_ADDRESS
     * - USA_DEA_NUMBER
     * - USA_HCPCS_CODE
     * - USA_NATIONAL_PROVIDER_IDENTIFIER
     * - USA_NATIONAL_DRUG_CODE
     * - USA_HEALTH_INSURANCE_CLAIM_NUMBER
     * - USA_MEDICARE_BENEFICIARY_IDENTIFIER
     * - USA_CPT_CODE
     * - PERSON_NAME
     * - DATE
     * The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
     */
    @JvmName("rokuslnebxilolkm")
    public suspend fun entityTypes(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.entityTypes = mapped
    }

    /**
     * @param values Entity types to detect. Can be any of the following:
     * - USA_SSN
     * - EMAIL
     * - USA_ITIN
     * - USA_PASSPORT_NUMBER
     * - PHONE_NUMBER
     * - USA_DRIVING_LICENSE
     * - BANK_ACCOUNT
     * - CREDIT_CARD
     * - IP_ADDRESS
     * - MAC_ADDRESS
     * - USA_DEA_NUMBER
     * - USA_HCPCS_CODE
     * - USA_NATIONAL_PROVIDER_IDENTIFIER
     * - USA_NATIONAL_DRUG_CODE
     * - USA_HEALTH_INSURANCE_CLAIM_NUMBER
     * - USA_MEDICARE_BENEFICIARY_IDENTIFIER
     * - USA_CPT_CODE
     * - PERSON_NAME
     * - DATE
     * The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
     */
    @JvmName("rixpgiakhetrtlnl")
    public suspend fun entityTypes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.entityTypes = mapped
    }

    internal fun build(): JobEntityDetectorConfigurationArgs = JobEntityDetectorConfigurationArgs(
        allowedStatistics = allowedStatistics,
        entityTypes = entityTypes ?: throw PulumiNullFieldException("entityTypes"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy