com.pulumi.aws.quicksight.kotlin.inputs.DataSetLogicalTableMapDataTransformArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.quicksight.kotlin.inputs
import com.pulumi.aws.quicksight.inputs.DataSetLogicalTableMapDataTransformArgs.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.jvm.JvmName
/**
*
* @property castColumnTypeOperation A transform operation that casts a column to a different type. See cast_column_type_operation.
* @property createColumnsOperation An operation that creates calculated columns. Columns created in one such operation form a lexical closure. See create_columns_operation.
* @property filterOperation An operation that filters rows based on some condition. See filter_operation.
* @property projectOperation An operation that projects columns. Operations that come after a projection can only refer to projected columns. See project_operation.
* @property renameColumnOperation An operation that renames a column. See rename_column_operation.
* @property tagColumnOperation An operation that tags a column with additional information. See tag_column_operation.
* @property untagColumnOperation A transform operation that removes tags associated with a column. See untag_column_operation.
*/
public data class DataSetLogicalTableMapDataTransformArgs(
public val castColumnTypeOperation: Output? = null,
public val createColumnsOperation: Output? = null,
public val filterOperation: Output? =
null,
public val projectOperation: Output? =
null,
public val renameColumnOperation: Output? = null,
public val tagColumnOperation: Output? =
null,
public val untagColumnOperation: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.quicksight.inputs.DataSetLogicalTableMapDataTransformArgs =
com.pulumi.aws.quicksight.inputs.DataSetLogicalTableMapDataTransformArgs.builder()
.castColumnTypeOperation(
castColumnTypeOperation?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.createColumnsOperation(
createColumnsOperation?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.filterOperation(filterOperation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.projectOperation(projectOperation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.renameColumnOperation(
renameColumnOperation?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tagColumnOperation(
tagColumnOperation?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.untagColumnOperation(
untagColumnOperation?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DataSetLogicalTableMapDataTransformArgs].
*/
@PulumiTagMarker
public class DataSetLogicalTableMapDataTransformArgsBuilder internal constructor() {
private var castColumnTypeOperation:
Output? = null
private var createColumnsOperation:
Output? = null
private var filterOperation: Output? =
null
private var projectOperation: Output? =
null
private var renameColumnOperation:
Output? = null
private var tagColumnOperation: Output? =
null
private var untagColumnOperation:
Output? = null
/**
* @param value A transform operation that casts a column to a different type. See cast_column_type_operation.
*/
@JvmName("suinivnhdotrlnqk")
public suspend fun castColumnTypeOperation(`value`: Output) {
this.castColumnTypeOperation = value
}
/**
* @param value An operation that creates calculated columns. Columns created in one such operation form a lexical closure. See create_columns_operation.
*/
@JvmName("hohplelrcnpsljhy")
public suspend fun createColumnsOperation(`value`: Output) {
this.createColumnsOperation = value
}
/**
* @param value An operation that filters rows based on some condition. See filter_operation.
*/
@JvmName("gdsoughnyrbwpawd")
public suspend fun filterOperation(`value`: Output) {
this.filterOperation = value
}
/**
* @param value An operation that projects columns. Operations that come after a projection can only refer to projected columns. See project_operation.
*/
@JvmName("fbdifvncaquabxol")
public suspend fun projectOperation(`value`: Output) {
this.projectOperation = value
}
/**
* @param value An operation that renames a column. See rename_column_operation.
*/
@JvmName("hsxlxbxhmaxtpfiu")
public suspend fun renameColumnOperation(`value`: Output) {
this.renameColumnOperation = value
}
/**
* @param value An operation that tags a column with additional information. See tag_column_operation.
*/
@JvmName("chpywfxujcydxdgx")
public suspend fun tagColumnOperation(`value`: Output) {
this.tagColumnOperation = value
}
/**
* @param value A transform operation that removes tags associated with a column. See untag_column_operation.
*/
@JvmName("kjagilhinjkaqkbk")
public suspend fun untagColumnOperation(`value`: Output) {
this.untagColumnOperation = value
}
/**
* @param value A transform operation that casts a column to a different type. See cast_column_type_operation.
*/
@JvmName("bipjntsuvnfqlvra")
public suspend fun castColumnTypeOperation(`value`: DataSetLogicalTableMapDataTransformCastColumnTypeOperationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.castColumnTypeOperation = mapped
}
/**
* @param argument A transform operation that casts a column to a different type. See cast_column_type_operation.
*/
@JvmName("pldbwylwvwkwfkvu")
public suspend fun castColumnTypeOperation(argument: suspend DataSetLogicalTableMapDataTransformCastColumnTypeOperationArgsBuilder.() -> Unit) {
val toBeMapped =
DataSetLogicalTableMapDataTransformCastColumnTypeOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.castColumnTypeOperation = mapped
}
/**
* @param value An operation that creates calculated columns. Columns created in one such operation form a lexical closure. See create_columns_operation.
*/
@JvmName("dochuxphpcmvxxvg")
public suspend fun createColumnsOperation(`value`: DataSetLogicalTableMapDataTransformCreateColumnsOperationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.createColumnsOperation = mapped
}
/**
* @param argument An operation that creates calculated columns. Columns created in one such operation form a lexical closure. See create_columns_operation.
*/
@JvmName("dmeksrijlvrwyapj")
public suspend fun createColumnsOperation(argument: suspend DataSetLogicalTableMapDataTransformCreateColumnsOperationArgsBuilder.() -> Unit) {
val toBeMapped =
DataSetLogicalTableMapDataTransformCreateColumnsOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.createColumnsOperation = mapped
}
/**
* @param value An operation that filters rows based on some condition. See filter_operation.
*/
@JvmName("uiqlvrcvimxgsvyw")
public suspend fun filterOperation(`value`: DataSetLogicalTableMapDataTransformFilterOperationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.filterOperation = mapped
}
/**
* @param argument An operation that filters rows based on some condition. See filter_operation.
*/
@JvmName("wquhpxqbilfsqjsk")
public suspend fun filterOperation(argument: suspend DataSetLogicalTableMapDataTransformFilterOperationArgsBuilder.() -> Unit) {
val toBeMapped = DataSetLogicalTableMapDataTransformFilterOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.filterOperation = mapped
}
/**
* @param value An operation that projects columns. Operations that come after a projection can only refer to projected columns. See project_operation.
*/
@JvmName("mustfllbaqipinaq")
public suspend fun projectOperation(`value`: DataSetLogicalTableMapDataTransformProjectOperationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.projectOperation = mapped
}
/**
* @param argument An operation that projects columns. Operations that come after a projection can only refer to projected columns. See project_operation.
*/
@JvmName("hbqqrjhjgsuqddbr")
public suspend fun projectOperation(argument: suspend DataSetLogicalTableMapDataTransformProjectOperationArgsBuilder.() -> Unit) {
val toBeMapped = DataSetLogicalTableMapDataTransformProjectOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.projectOperation = mapped
}
/**
* @param value An operation that renames a column. See rename_column_operation.
*/
@JvmName("epmatjrtwjetyxht")
public suspend fun renameColumnOperation(`value`: DataSetLogicalTableMapDataTransformRenameColumnOperationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.renameColumnOperation = mapped
}
/**
* @param argument An operation that renames a column. See rename_column_operation.
*/
@JvmName("roneakdfdfnyrgpw")
public suspend fun renameColumnOperation(argument: suspend DataSetLogicalTableMapDataTransformRenameColumnOperationArgsBuilder.() -> Unit) {
val toBeMapped =
DataSetLogicalTableMapDataTransformRenameColumnOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.renameColumnOperation = mapped
}
/**
* @param value An operation that tags a column with additional information. See tag_column_operation.
*/
@JvmName("rwvonexegrlwnwaa")
public suspend fun tagColumnOperation(`value`: DataSetLogicalTableMapDataTransformTagColumnOperationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tagColumnOperation = mapped
}
/**
* @param argument An operation that tags a column with additional information. See tag_column_operation.
*/
@JvmName("aunmpjvbllnmnifw")
public suspend fun tagColumnOperation(argument: suspend DataSetLogicalTableMapDataTransformTagColumnOperationArgsBuilder.() -> Unit) {
val toBeMapped =
DataSetLogicalTableMapDataTransformTagColumnOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.tagColumnOperation = mapped
}
/**
* @param value A transform operation that removes tags associated with a column. See untag_column_operation.
*/
@JvmName("hogpfoaxbgfqbxxh")
public suspend fun untagColumnOperation(`value`: DataSetLogicalTableMapDataTransformUntagColumnOperationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.untagColumnOperation = mapped
}
/**
* @param argument A transform operation that removes tags associated with a column. See untag_column_operation.
*/
@JvmName("ubwqrshfdrksisfx")
public suspend fun untagColumnOperation(argument: suspend DataSetLogicalTableMapDataTransformUntagColumnOperationArgsBuilder.() -> Unit) {
val toBeMapped =
DataSetLogicalTableMapDataTransformUntagColumnOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.untagColumnOperation = mapped
}
internal fun build(): DataSetLogicalTableMapDataTransformArgs =
DataSetLogicalTableMapDataTransformArgs(
castColumnTypeOperation = castColumnTypeOperation,
createColumnsOperation = createColumnsOperation,
filterOperation = filterOperation,
projectOperation = projectOperation,
renameColumnOperation = renameColumnOperation,
tagColumnOperation = tagColumnOperation,
untagColumnOperation = untagColumnOperation,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy