com.pulumi.azurenative.datafactory.kotlin.inputs.MapperTableArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.MapperTableArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* CDC table details.
* @property dslConnectorProperties List of name/value pairs for connection properties.
* @property name Name of the table.
* @property schema List of columns for the source table.
*/
public data class MapperTableArgs(
public val dslConnectorProperties: Output>? = null,
public val name: Output? = null,
public val schema: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.MapperTableArgs =
com.pulumi.azurenative.datafactory.inputs.MapperTableArgs.builder()
.dslConnectorProperties(
dslConnectorProperties?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.schema(
schema?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [MapperTableArgs].
*/
@PulumiTagMarker
public class MapperTableArgsBuilder internal constructor() {
private var dslConnectorProperties: Output>? = null
private var name: Output? = null
private var schema: Output>? = null
/**
* @param value List of name/value pairs for connection properties.
*/
@JvmName("yonoxkdqyrmqomwr")
public suspend fun dslConnectorProperties(`value`: Output>) {
this.dslConnectorProperties = value
}
@JvmName("npjuqaavgudxnfsk")
public suspend fun dslConnectorProperties(vararg values: Output) {
this.dslConnectorProperties = Output.all(values.asList())
}
/**
* @param values List of name/value pairs for connection properties.
*/
@JvmName("rsnosikaevroyjhc")
public suspend fun dslConnectorProperties(values: List