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

com.pulumi.awsnative.quicksight.kotlin.DataSetArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin

import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.quicksight.DataSetArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DataSetImportMode
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetColumnGroupArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetColumnGroupArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetColumnLevelPermissionRuleArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetColumnLevelPermissionRuleArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetDatasetParameterArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetDatasetParameterArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetFieldFolderArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetFieldFolderArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetIngestionWaitPolicyArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetIngestionWaitPolicyArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetLogicalTableArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetLogicalTableArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetPhysicalTableArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetPhysicalTableArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetRefreshPropertiesArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetRefreshPropertiesArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetResourcePermissionArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetResourcePermissionArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetRowLevelPermissionDataSetArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetRowLevelPermissionDataSetArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetRowLevelPermissionTagConfigurationArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetRowLevelPermissionTagConfigurationArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetUsageConfigurationArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetUsageConfigurationArgsBuilder
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.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Definition of the AWS::QuickSight::DataSet Resource Type.
 * @property awsAccountId The AWS account ID.
 * @property columnGroups 

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

* @property columnLevelPermissionRules

A set of one or more definitions of a * ColumnLevelPermissionRule * .

* @property dataSetId An ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account. * @property dataSetRefreshProperties The refresh properties of a dataset. * @property dataSetUsageConfiguration The usage configuration to apply to child datasets that reference this dataset as a source. * @property datasetParameters

The parameter declarations of the dataset.

* @property fieldFolders The folder that contains fields and nested subfolders for your dataset. * @property importMode Indicates whether you want to import the data into SPICE. * @property ingestionWaitPolicy The wait policy to use when creating or updating a Dataset. The default is to wait for SPICE ingestion to finish with timeout of 36 hours. * @property logicalTableMap Configures the combination and transformation of the data from the physical tables. * @property name

The display name for the dataset.

* @property permissions

A list of resource permissions on the dataset.

* @property physicalTableMap Declares the physical tables that are available in the underlying data sources. * @property rowLevelPermissionDataSet The row-level security configuration for the data that you want to create. * @property rowLevelPermissionTagConfiguration The element you can use to define tags for row-level security. * @property tags

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

*/ public data class DataSetArgs( public val awsAccountId: Output? = null, public val columnGroups: Output>? = null, public val columnLevelPermissionRules: Output>? = null, public val dataSetId: Output? = null, public val dataSetRefreshProperties: Output? = null, public val dataSetUsageConfiguration: Output? = null, public val datasetParameters: Output>? = null, public val fieldFolders: Output>? = null, public val importMode: Output? = null, public val ingestionWaitPolicy: Output? = null, public val logicalTableMap: Output>? = null, public val name: Output? = null, public val permissions: Output>? = null, public val physicalTableMap: Output>? = null, public val rowLevelPermissionDataSet: Output? = null, public val rowLevelPermissionTagConfiguration: Output? = null, public val tags: Output>? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.quicksight.DataSetArgs = com.pulumi.awsnative.quicksight.DataSetArgs.builder() .awsAccountId(awsAccountId?.applyValue({ args0 -> args0 })) .columnGroups( columnGroups?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .columnLevelPermissionRules( columnLevelPermissionRules?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .dataSetId(dataSetId?.applyValue({ args0 -> args0 })) .dataSetRefreshProperties( dataSetRefreshProperties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ) .dataSetUsageConfiguration( dataSetUsageConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ) .datasetParameters( datasetParameters?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .fieldFolders( fieldFolders?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value.let({ args0 -> args0.toJava() })) }).toMap() }), ) .importMode(importMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .ingestionWaitPolicy( ingestionWaitPolicy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ) .logicalTableMap( logicalTableMap?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value.let({ args0 -> args0.toJava() })) }).toMap() }), ) .name(name?.applyValue({ args0 -> args0 })) .permissions( permissions?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .physicalTableMap( physicalTableMap?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value.let({ args0 -> args0.toJava() })) }).toMap() }), ) .rowLevelPermissionDataSet( rowLevelPermissionDataSet?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ) .rowLevelPermissionTagConfiguration( rowLevelPermissionTagConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ) .tags( tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ).build() } /** * Builder for [DataSetArgs]. */ @PulumiTagMarker public class DataSetArgsBuilder internal constructor() { private var awsAccountId: Output? = null private var columnGroups: Output>? = null private var columnLevelPermissionRules: Output>? = null private var dataSetId: Output? = null private var dataSetRefreshProperties: Output? = null private var dataSetUsageConfiguration: Output? = null private var datasetParameters: Output>? = null private var fieldFolders: Output>? = null private var importMode: Output? = null private var ingestionWaitPolicy: Output? = null private var logicalTableMap: Output>? = null private var name: Output? = null private var permissions: Output>? = null private var physicalTableMap: Output>? = null private var rowLevelPermissionDataSet: Output? = null private var rowLevelPermissionTagConfiguration: Output? = null private var tags: Output>? = null /** * @param value The AWS account ID. */ @JvmName("uedkkjhmshwpdmdq") public suspend fun awsAccountId(`value`: Output) { this.awsAccountId = value } /** * @param value

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

*/ @JvmName("bkghwlhfsmwixxxj") public suspend fun columnGroups(`value`: Output>) { this.columnGroups = value } @JvmName("bdirtijqrfnehtfb") public suspend fun columnGroups(vararg values: Output) { this.columnGroups = Output.all(values.asList()) } /** * @param values

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

*/ @JvmName("bvborqiuubpxnfed") public suspend fun columnGroups(values: List>) { this.columnGroups = Output.all(values) } /** * @param value

A set of one or more definitions of a * ColumnLevelPermissionRule * .

*/ @JvmName("pflbtjsfvmsjngxl") public suspend fun columnLevelPermissionRules(`value`: Output>) { this.columnLevelPermissionRules = value } @JvmName("mjlsmlblghemduxc") public suspend fun columnLevelPermissionRules(vararg values: Output) { this.columnLevelPermissionRules = Output.all(values.asList()) } /** * @param values

A set of one or more definitions of a * ColumnLevelPermissionRule * .

*/ @JvmName("gekjhekglfxrddob") public suspend fun columnLevelPermissionRules(values: List>) { this.columnLevelPermissionRules = Output.all(values) } /** * @param value An ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account. */ @JvmName("tcplxlvkssfgwexa") public suspend fun dataSetId(`value`: Output) { this.dataSetId = value } /** * @param value The refresh properties of a dataset. */ @JvmName("miatnrbpscliyado") public suspend fun dataSetRefreshProperties(`value`: Output) { this.dataSetRefreshProperties = value } /** * @param value The usage configuration to apply to child datasets that reference this dataset as a source. */ @JvmName("knajgrjboneqbkoa") public suspend fun dataSetUsageConfiguration(`value`: Output) { this.dataSetUsageConfiguration = value } /** * @param value

The parameter declarations of the dataset.

*/ @JvmName("sgraowisnnfkuhxw") public suspend fun datasetParameters(`value`: Output>) { this.datasetParameters = value } @JvmName("sqblknktmuuanjmw") public suspend fun datasetParameters(vararg values: Output) { this.datasetParameters = Output.all(values.asList()) } /** * @param values

The parameter declarations of the dataset.

*/ @JvmName("kmowwuvlcpeenpse") public suspend fun datasetParameters(values: List>) { this.datasetParameters = Output.all(values) } /** * @param value The folder that contains fields and nested subfolders for your dataset. */ @JvmName("fxakofvsihpgqidr") public suspend fun fieldFolders(`value`: Output>) { this.fieldFolders = value } /** * @param value Indicates whether you want to import the data into SPICE. */ @JvmName("mdbuvefnpjyuvbbf") public suspend fun importMode(`value`: Output) { this.importMode = value } /** * @param value The wait policy to use when creating or updating a Dataset. The default is to wait for SPICE ingestion to finish with timeout of 36 hours. */ @JvmName("tqmcqaxcnlrcsybn") public suspend fun ingestionWaitPolicy(`value`: Output) { this.ingestionWaitPolicy = value } /** * @param value Configures the combination and transformation of the data from the physical tables. */ @JvmName("oacwnetsyylrjhid") public suspend fun logicalTableMap(`value`: Output>) { this.logicalTableMap = value } /** * @param value

The display name for the dataset.

*/ @JvmName("vtrxtkubjayjymob") public suspend fun name(`value`: Output) { this.name = value } /** * @param value

A list of resource permissions on the dataset.

*/ @JvmName("whjqjpsqolxvbuov") public suspend fun permissions(`value`: Output>) { this.permissions = value } @JvmName("fexilfrnqfmammup") public suspend fun permissions(vararg values: Output) { this.permissions = Output.all(values.asList()) } /** * @param values

A list of resource permissions on the dataset.

*/ @JvmName("xmvfcrxkdveelkvt") public suspend fun permissions(values: List>) { this.permissions = Output.all(values) } /** * @param value Declares the physical tables that are available in the underlying data sources. */ @JvmName("thnpghdtykvwmips") public suspend fun physicalTableMap(`value`: Output>) { this.physicalTableMap = value } /** * @param value The row-level security configuration for the data that you want to create. */ @JvmName("hofblcipoogleaei") public suspend fun rowLevelPermissionDataSet(`value`: Output) { this.rowLevelPermissionDataSet = value } /** * @param value The element you can use to define tags for row-level security. */ @JvmName("tvrnnieppcafksqf") public suspend fun rowLevelPermissionTagConfiguration(`value`: Output) { this.rowLevelPermissionTagConfiguration = value } /** * @param value

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

*/ @JvmName("dvyeatxhseygmylk") public suspend fun tags(`value`: Output>) { this.tags = value } @JvmName("piikupfyhvbcpsjx") public suspend fun tags(vararg values: Output) { this.tags = Output.all(values.asList()) } /** * @param values

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

*/ @JvmName("acqduoxpuiskflkt") public suspend fun tags(values: List>) { this.tags = Output.all(values) } /** * @param value The AWS account ID. */ @JvmName("ohqtnnafkhhcxyij") public suspend fun awsAccountId(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.awsAccountId = mapped } /** * @param value

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

*/ @JvmName("dgnvldkmdnnmqmqt") public suspend fun columnGroups(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.columnGroups = mapped } /** * @param argument

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

*/ @JvmName("leosxtjewonsnhja") public suspend fun columnGroups(argument: List Unit>) { val toBeMapped = argument.toList().map { DataSetColumnGroupArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.columnGroups = mapped } /** * @param argument

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

*/ @JvmName("vsojhxasffsbiuyi") public suspend fun columnGroups(vararg argument: suspend DataSetColumnGroupArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { DataSetColumnGroupArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.columnGroups = mapped } /** * @param argument

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

*/ @JvmName("yfuulewfnccbvdco") public suspend fun columnGroups(argument: suspend DataSetColumnGroupArgsBuilder.() -> Unit) { val toBeMapped = listOf(DataSetColumnGroupArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.columnGroups = mapped } /** * @param values

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

*/ @JvmName("cmmxdbltoylrlkfr") public suspend fun columnGroups(vararg values: DataSetColumnGroupArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.columnGroups = mapped } /** * @param value

A set of one or more definitions of a * ColumnLevelPermissionRule * .

*/ @JvmName("qoyktlkrtimpsohm") public suspend fun columnLevelPermissionRules(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.columnLevelPermissionRules = mapped } /** * @param argument

A set of one or more definitions of a * ColumnLevelPermissionRule * .

*/ @JvmName("kykxwscwqmgdednw") public suspend fun columnLevelPermissionRules(argument: List Unit>) { val toBeMapped = argument.toList().map { DataSetColumnLevelPermissionRuleArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.columnLevelPermissionRules = mapped } /** * @param argument

A set of one or more definitions of a * ColumnLevelPermissionRule * .

*/ @JvmName("rsistyoqugfrjkgv") public suspend fun columnLevelPermissionRules(vararg argument: suspend DataSetColumnLevelPermissionRuleArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { DataSetColumnLevelPermissionRuleArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.columnLevelPermissionRules = mapped } /** * @param argument

A set of one or more definitions of a * ColumnLevelPermissionRule * .

*/ @JvmName("fpkmoifewdgpvihp") public suspend fun columnLevelPermissionRules(argument: suspend DataSetColumnLevelPermissionRuleArgsBuilder.() -> Unit) { val toBeMapped = listOf( DataSetColumnLevelPermissionRuleArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.columnLevelPermissionRules = mapped } /** * @param values

A set of one or more definitions of a * ColumnLevelPermissionRule * .

*/ @JvmName("lrvvdmcprdxdxgsj") public suspend fun columnLevelPermissionRules(vararg values: DataSetColumnLevelPermissionRuleArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.columnLevelPermissionRules = mapped } /** * @param value An ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account. */ @JvmName("rddiuwwwxrayufpe") public suspend fun dataSetId(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.dataSetId = mapped } /** * @param value The refresh properties of a dataset. */ @JvmName("apbiopnqkjgfgsjo") public suspend fun dataSetRefreshProperties(`value`: DataSetRefreshPropertiesArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.dataSetRefreshProperties = mapped } /** * @param argument The refresh properties of a dataset. */ @JvmName("vxdjqxpiwdgkdlsn") public suspend fun dataSetRefreshProperties(argument: suspend DataSetRefreshPropertiesArgsBuilder.() -> Unit) { val toBeMapped = DataSetRefreshPropertiesArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.dataSetRefreshProperties = mapped } /** * @param value The usage configuration to apply to child datasets that reference this dataset as a source. */ @JvmName("axullcdcpexowkpp") public suspend fun dataSetUsageConfiguration(`value`: DataSetUsageConfigurationArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.dataSetUsageConfiguration = mapped } /** * @param argument The usage configuration to apply to child datasets that reference this dataset as a source. */ @JvmName("ofsjnyslwesdqleg") public suspend fun dataSetUsageConfiguration(argument: suspend DataSetUsageConfigurationArgsBuilder.() -> Unit) { val toBeMapped = DataSetUsageConfigurationArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.dataSetUsageConfiguration = mapped } /** * @param value

The parameter declarations of the dataset.

*/ @JvmName("uvpnurdssugoldyf") public suspend fun datasetParameters(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.datasetParameters = mapped } /** * @param argument

The parameter declarations of the dataset.

*/ @JvmName("fxtmpcvvqutteuki") public suspend fun datasetParameters(argument: List Unit>) { val toBeMapped = argument.toList().map { DataSetDatasetParameterArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.datasetParameters = mapped } /** * @param argument

The parameter declarations of the dataset.

*/ @JvmName("nfhonbjijdseiseo") public suspend fun datasetParameters(vararg argument: suspend DataSetDatasetParameterArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { DataSetDatasetParameterArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.datasetParameters = mapped } /** * @param argument

The parameter declarations of the dataset.

*/ @JvmName("mlfkuolhrxhkcibk") public suspend fun datasetParameters(argument: suspend DataSetDatasetParameterArgsBuilder.() -> Unit) { val toBeMapped = listOf( DataSetDatasetParameterArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.datasetParameters = mapped } /** * @param values

The parameter declarations of the dataset.

*/ @JvmName("kigrtyqnjtykgvkk") public suspend fun datasetParameters(vararg values: DataSetDatasetParameterArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.datasetParameters = mapped } /** * @param value The folder that contains fields and nested subfolders for your dataset. */ @JvmName("hmlslrryujwatkbg") public suspend fun fieldFolders(`value`: Map?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.fieldFolders = mapped } /** * @param argument The folder that contains fields and nested subfolders for your dataset. */ @JvmName("whmxnlubwcipiifx") public suspend fun fieldFolders(vararg argument: Pair Unit>) { val toBeMapped = argument.toList().map { (left, right) -> left to DataSetFieldFolderArgsBuilder().applySuspend { right() }.build() }.toMap() val mapped = of(toBeMapped) this.fieldFolders = mapped } /** * @param values The folder that contains fields and nested subfolders for your dataset. */ @JvmName("eifqkpbtrweowpsg") public fun fieldFolders(vararg values: Pair) { val toBeMapped = values.toMap() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.fieldFolders = mapped } /** * @param value Indicates whether you want to import the data into SPICE. */ @JvmName("evxifqorhxwpsnsq") public suspend fun importMode(`value`: DataSetImportMode?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.importMode = mapped } /** * @param value The wait policy to use when creating or updating a Dataset. The default is to wait for SPICE ingestion to finish with timeout of 36 hours. */ @JvmName("fgsrltctjibutmhp") public suspend fun ingestionWaitPolicy(`value`: DataSetIngestionWaitPolicyArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.ingestionWaitPolicy = mapped } /** * @param argument The wait policy to use when creating or updating a Dataset. The default is to wait for SPICE ingestion to finish with timeout of 36 hours. */ @JvmName("tmhrkuectxbdnmnc") public suspend fun ingestionWaitPolicy(argument: suspend DataSetIngestionWaitPolicyArgsBuilder.() -> Unit) { val toBeMapped = DataSetIngestionWaitPolicyArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.ingestionWaitPolicy = mapped } /** * @param value Configures the combination and transformation of the data from the physical tables. */ @JvmName("dygigkwojsqaehmk") public suspend fun logicalTableMap(`value`: Map?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.logicalTableMap = mapped } /** * @param argument Configures the combination and transformation of the data from the physical tables. */ @JvmName("flayacgguvctfcak") public suspend fun logicalTableMap(vararg argument: Pair Unit>) { val toBeMapped = argument.toList().map { (left, right) -> left to DataSetLogicalTableArgsBuilder().applySuspend { right() }.build() }.toMap() val mapped = of(toBeMapped) this.logicalTableMap = mapped } /** * @param values Configures the combination and transformation of the data from the physical tables. */ @JvmName("whbahnwvvuvyhtqx") public fun logicalTableMap(vararg values: Pair) { val toBeMapped = values.toMap() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.logicalTableMap = mapped } /** * @param value

The display name for the dataset.

*/ @JvmName("hqwiwfkjdpvcpipy") public suspend fun name(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.name = mapped } /** * @param value

A list of resource permissions on the dataset.

*/ @JvmName("exgsejulljvwcdvo") public suspend fun permissions(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.permissions = mapped } /** * @param argument

A list of resource permissions on the dataset.

*/ @JvmName("vvtnmfhcirkdwifo") public suspend fun permissions(argument: List Unit>) { val toBeMapped = argument.toList().map { DataSetResourcePermissionArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.permissions = mapped } /** * @param argument

A list of resource permissions on the dataset.

*/ @JvmName("ajeukxmhialdvcid") public suspend fun permissions(vararg argument: suspend DataSetResourcePermissionArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { DataSetResourcePermissionArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.permissions = mapped } /** * @param argument

A list of resource permissions on the dataset.

*/ @JvmName("khcdpmbrrrhdnoun") public suspend fun permissions(argument: suspend DataSetResourcePermissionArgsBuilder.() -> Unit) { val toBeMapped = listOf( DataSetResourcePermissionArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.permissions = mapped } /** * @param values

A list of resource permissions on the dataset.

*/ @JvmName("orkoelgctvojoske") public suspend fun permissions(vararg values: DataSetResourcePermissionArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.permissions = mapped } /** * @param value Declares the physical tables that are available in the underlying data sources. */ @JvmName("cjpwnhxpggbesvog") public suspend fun physicalTableMap(`value`: Map?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.physicalTableMap = mapped } /** * @param argument Declares the physical tables that are available in the underlying data sources. */ @JvmName("evcjfcmvcjidbdym") public suspend fun physicalTableMap(vararg argument: Pair Unit>) { val toBeMapped = argument.toList().map { (left, right) -> left to DataSetPhysicalTableArgsBuilder().applySuspend { right() }.build() }.toMap() val mapped = of(toBeMapped) this.physicalTableMap = mapped } /** * @param values Declares the physical tables that are available in the underlying data sources. */ @JvmName("iimaawflrjutmjwm") public fun physicalTableMap(vararg values: Pair) { val toBeMapped = values.toMap() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.physicalTableMap = mapped } /** * @param value The row-level security configuration for the data that you want to create. */ @JvmName("hsjvkdikrogplawk") public suspend fun rowLevelPermissionDataSet(`value`: DataSetRowLevelPermissionDataSetArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.rowLevelPermissionDataSet = mapped } /** * @param argument The row-level security configuration for the data that you want to create. */ @JvmName("bqllildjnsyenqsl") public suspend fun rowLevelPermissionDataSet(argument: suspend DataSetRowLevelPermissionDataSetArgsBuilder.() -> Unit) { val toBeMapped = DataSetRowLevelPermissionDataSetArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.rowLevelPermissionDataSet = mapped } /** * @param value The element you can use to define tags for row-level security. */ @JvmName("niwrowkucahpipmp") public suspend fun rowLevelPermissionTagConfiguration(`value`: DataSetRowLevelPermissionTagConfigurationArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.rowLevelPermissionTagConfiguration = mapped } /** * @param argument The element you can use to define tags for row-level security. */ @JvmName("rttsgnsxgpkfmdaa") public suspend fun rowLevelPermissionTagConfiguration(argument: suspend DataSetRowLevelPermissionTagConfigurationArgsBuilder.() -> Unit) { val toBeMapped = DataSetRowLevelPermissionTagConfigurationArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.rowLevelPermissionTagConfiguration = mapped } /** * @param value

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

*/ @JvmName("bnvrttjiarbptwko") public suspend fun tags(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.tags = mapped } /** * @param argument

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

*/ @JvmName("xiiwyxnoggeqvhru") public suspend fun tags(argument: List Unit>) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

*/ @JvmName("fucvofigcqbvippj") public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

*/ @JvmName("nlipkysciwwcoevc") public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.tags = mapped } /** * @param values

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

*/ @JvmName("bhpqrcssgxbmrhul") public suspend fun tags(vararg values: TagArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.tags = mapped } internal fun build(): DataSetArgs = DataSetArgs( awsAccountId = awsAccountId, columnGroups = columnGroups, columnLevelPermissionRules = columnLevelPermissionRules, dataSetId = dataSetId, dataSetRefreshProperties = dataSetRefreshProperties, dataSetUsageConfiguration = dataSetUsageConfiguration, datasetParameters = datasetParameters, fieldFolders = fieldFolders, importMode = importMode, ingestionWaitPolicy = ingestionWaitPolicy, logicalTableMap = logicalTableMap, name = name, permissions = permissions, physicalTableMap = physicalTableMap, rowLevelPermissionDataSet = rowLevelPermissionDataSet, rowLevelPermissionTagConfiguration = rowLevelPermissionTagConfiguration, tags = tags, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy