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

com.pulumi.awsnative.databrew.kotlin.inputs.JobProfileConfigurationArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 *
 * @property columnStatisticsConfigurations List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.
 * @property datasetStatisticsConfiguration Configuration for inter-column evaluations. Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations.
 * @property entityDetectorConfiguration Configuration of entity detection for a profile job. When undefined, entity detection is disabled.
 * @property profileColumns List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.
 */
public data class JobProfileConfigurationArgs(
    public val columnStatisticsConfigurations: Output>? =
        null,
    public val datasetStatisticsConfiguration: Output? = null,
    public val entityDetectorConfiguration: Output? = null,
    public val profileColumns: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.databrew.inputs.JobProfileConfigurationArgs =
        com.pulumi.awsnative.databrew.inputs.JobProfileConfigurationArgs.builder()
            .columnStatisticsConfigurations(
                columnStatisticsConfigurations?.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .datasetStatisticsConfiguration(
                datasetStatisticsConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .entityDetectorConfiguration(
                entityDetectorConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .profileColumns(
                profileColumns?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [JobProfileConfigurationArgs].
 */
@PulumiTagMarker
public class JobProfileConfigurationArgsBuilder internal constructor() {
    private var columnStatisticsConfigurations: Output>? =
        null

    private var datasetStatisticsConfiguration: Output? = null

    private var entityDetectorConfiguration: Output? = null

    private var profileColumns: Output>? = null

    /**
     * @param value List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.
     */
    @JvmName("edvdwqhqhkrxqwej")
    public suspend fun columnStatisticsConfigurations(`value`: Output>) {
        this.columnStatisticsConfigurations = value
    }

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

    /**
     * @param values List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.
     */
    @JvmName("hjmmdiaessmwxbyn")
    public suspend fun columnStatisticsConfigurations(values: List>) {
        this.columnStatisticsConfigurations = Output.all(values)
    }

    /**
     * @param value Configuration for inter-column evaluations. Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations.
     */
    @JvmName("hpjtqqvrvtmstomb")
    public suspend fun datasetStatisticsConfiguration(`value`: Output) {
        this.datasetStatisticsConfiguration = value
    }

    /**
     * @param value Configuration of entity detection for a profile job. When undefined, entity detection is disabled.
     */
    @JvmName("qixptdgylhdlgcwc")
    public suspend fun entityDetectorConfiguration(`value`: Output) {
        this.entityDetectorConfiguration = value
    }

    /**
     * @param value List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.
     */
    @JvmName("gmornyaimcohhnql")
    public suspend fun profileColumns(`value`: Output>) {
        this.profileColumns = value
    }

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

    /**
     * @param values List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.
     */
    @JvmName("krbvojqksnxijwgm")
    public suspend fun profileColumns(values: List>) {
        this.profileColumns = Output.all(values)
    }

    /**
     * @param value List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.
     */
    @JvmName("hhrsmuwrdellhpom")
    public suspend fun columnStatisticsConfigurations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columnStatisticsConfigurations = mapped
    }

    /**
     * @param argument List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.
     */
    @JvmName("srodcejuibjnoths")
    public suspend fun columnStatisticsConfigurations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            JobColumnStatisticsConfigurationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.columnStatisticsConfigurations = mapped
    }

    /**
     * @param argument List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.
     */
    @JvmName("jgdfhuhovkvsjbcl")
    public suspend fun columnStatisticsConfigurations(vararg argument: suspend JobColumnStatisticsConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            JobColumnStatisticsConfigurationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.columnStatisticsConfigurations = mapped
    }

    /**
     * @param argument List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.
     */
    @JvmName("qemtpddhihcjpfmo")
    public suspend fun columnStatisticsConfigurations(argument: suspend JobColumnStatisticsConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            JobColumnStatisticsConfigurationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.columnStatisticsConfigurations = mapped
    }

    /**
     * @param values List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.
     */
    @JvmName("xrsiehhrmtklyovl")
    public suspend fun columnStatisticsConfigurations(vararg values: JobColumnStatisticsConfigurationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columnStatisticsConfigurations = mapped
    }

    /**
     * @param value Configuration for inter-column evaluations. Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations.
     */
    @JvmName("mhblivawpgjmyars")
    public suspend fun datasetStatisticsConfiguration(`value`: JobStatisticsConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.datasetStatisticsConfiguration = mapped
    }

    /**
     * @param argument Configuration for inter-column evaluations. Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations.
     */
    @JvmName("plxxysqxfoqmykox")
    public suspend fun datasetStatisticsConfiguration(argument: suspend JobStatisticsConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = JobStatisticsConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.datasetStatisticsConfiguration = mapped
    }

    /**
     * @param value Configuration of entity detection for a profile job. When undefined, entity detection is disabled.
     */
    @JvmName("lghuhjyqerduftxi")
    public suspend fun entityDetectorConfiguration(`value`: JobEntityDetectorConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.entityDetectorConfiguration = mapped
    }

    /**
     * @param argument Configuration of entity detection for a profile job. When undefined, entity detection is disabled.
     */
    @JvmName("gtydxrmarovfqhis")
    public suspend fun entityDetectorConfiguration(argument: suspend JobEntityDetectorConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = JobEntityDetectorConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.entityDetectorConfiguration = mapped
    }

    /**
     * @param value List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.
     */
    @JvmName("yleanueuhskjdnsm")
    public suspend fun profileColumns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.profileColumns = mapped
    }

    /**
     * @param argument List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.
     */
    @JvmName("djoovmcysdhchbif")
    public suspend fun profileColumns(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            JobColumnSelectorArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.profileColumns = mapped
    }

    /**
     * @param argument List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.
     */
    @JvmName("nsqhhvqdkypefcwn")
    public suspend fun profileColumns(vararg argument: suspend JobColumnSelectorArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            JobColumnSelectorArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.profileColumns = mapped
    }

    /**
     * @param argument List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.
     */
    @JvmName("pyhbgoidaldtvktd")
    public suspend fun profileColumns(argument: suspend JobColumnSelectorArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(JobColumnSelectorArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.profileColumns = mapped
    }

    /**
     * @param values List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.
     */
    @JvmName("varidbxofvktejxf")
    public suspend fun profileColumns(vararg values: JobColumnSelectorArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.profileColumns = mapped
    }

    internal fun build(): JobProfileConfigurationArgs = JobProfileConfigurationArgs(
        columnStatisticsConfigurations = columnStatisticsConfigurations,
        datasetStatisticsConfiguration = datasetStatisticsConfiguration,
        entityDetectorConfiguration = entityDetectorConfiguration,
        profileColumns = profileColumns,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy