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

com.pulumi.awsnative.datazone.kotlin.inputs.DataSourceGlueRunConfigurationInputArgs.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.datazone.kotlin.inputs

import com.pulumi.awsnative.datazone.inputs.DataSourceGlueRunConfigurationInputArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property autoImportDataQualityResult Specifies whether to automatically import data quality metrics as part of the data source run.
 * @property dataAccessRole The data access role included in the configuration details of the AWS Glue data source.
 * @property relationalFilterConfigurations The relational filter configurations included in the configuration details of the AWS Glue data source.
 */
public data class DataSourceGlueRunConfigurationInputArgs(
    public val autoImportDataQualityResult: Output? = null,
    public val dataAccessRole: Output? = null,
    public val relationalFilterConfigurations: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datazone.inputs.DataSourceGlueRunConfigurationInputArgs =
        com.pulumi.awsnative.datazone.inputs.DataSourceGlueRunConfigurationInputArgs.builder()
            .autoImportDataQualityResult(autoImportDataQualityResult?.applyValue({ args0 -> args0 }))
            .dataAccessRole(dataAccessRole?.applyValue({ args0 -> args0 }))
            .relationalFilterConfigurations(
                relationalFilterConfigurations.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            ).build()
}

/**
 * Builder for [DataSourceGlueRunConfigurationInputArgs].
 */
@PulumiTagMarker
public class DataSourceGlueRunConfigurationInputArgsBuilder internal constructor() {
    private var autoImportDataQualityResult: Output? = null

    private var dataAccessRole: Output? = null

    private var relationalFilterConfigurations:
        Output>? = null

    /**
     * @param value Specifies whether to automatically import data quality metrics as part of the data source run.
     */
    @JvmName("uchsqrvxjobahdmb")
    public suspend fun autoImportDataQualityResult(`value`: Output) {
        this.autoImportDataQualityResult = value
    }

    /**
     * @param value The data access role included in the configuration details of the AWS Glue data source.
     */
    @JvmName("utbnbufwrxkahwhx")
    public suspend fun dataAccessRole(`value`: Output) {
        this.dataAccessRole = value
    }

    /**
     * @param value The relational filter configurations included in the configuration details of the AWS Glue data source.
     */
    @JvmName("sxdodvwyxhwvxjkp")
    public suspend fun relationalFilterConfigurations(`value`: Output>) {
        this.relationalFilterConfigurations = value
    }

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

    /**
     * @param values The relational filter configurations included in the configuration details of the AWS Glue data source.
     */
    @JvmName("glomcvytkyvovvvg")
    public suspend fun relationalFilterConfigurations(values: List>) {
        this.relationalFilterConfigurations = Output.all(values)
    }

    /**
     * @param value Specifies whether to automatically import data quality metrics as part of the data source run.
     */
    @JvmName("fmgvgxpfmkpjrouu")
    public suspend fun autoImportDataQualityResult(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.autoImportDataQualityResult = mapped
    }

    /**
     * @param value The data access role included in the configuration details of the AWS Glue data source.
     */
    @JvmName("lwoiifrdlqhwonyq")
    public suspend fun dataAccessRole(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataAccessRole = mapped
    }

    /**
     * @param value The relational filter configurations included in the configuration details of the AWS Glue data source.
     */
    @JvmName("ncwkfswhennbdfag")
    public suspend fun relationalFilterConfigurations(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.relationalFilterConfigurations = mapped
    }

    /**
     * @param argument The relational filter configurations included in the configuration details of the AWS Glue data source.
     */
    @JvmName("jwacoudrywhhddbi")
    public suspend fun relationalFilterConfigurations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DataSourceRelationalFilterConfigurationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.relationalFilterConfigurations = mapped
    }

    /**
     * @param argument The relational filter configurations included in the configuration details of the AWS Glue data source.
     */
    @JvmName("vqbjjcppacyhdmgx")
    public suspend fun relationalFilterConfigurations(vararg argument: suspend DataSourceRelationalFilterConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DataSourceRelationalFilterConfigurationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.relationalFilterConfigurations = mapped
    }

    /**
     * @param argument The relational filter configurations included in the configuration details of the AWS Glue data source.
     */
    @JvmName("kiwvvtehanipmwfi")
    public suspend fun relationalFilterConfigurations(argument: suspend DataSourceRelationalFilterConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DataSourceRelationalFilterConfigurationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.relationalFilterConfigurations = mapped
    }

    /**
     * @param values The relational filter configurations included in the configuration details of the AWS Glue data source.
     */
    @JvmName("lstvpmxhsqpmmvrr")
    public suspend fun relationalFilterConfigurations(vararg values: DataSourceRelationalFilterConfigurationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.relationalFilterConfigurations = mapped
    }

    internal fun build(): DataSourceGlueRunConfigurationInputArgs =
        DataSourceGlueRunConfigurationInputArgs(
            autoImportDataQualityResult = autoImportDataQualityResult,
            dataAccessRole = dataAccessRole,
            relationalFilterConfigurations = relationalFilterConfigurations ?: throw
                PulumiNullFieldException("relationalFilterConfigurations"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy