
com.pulumi.awsnative.entityresolution.kotlin.inputs.IdMappingWorkflowInputSourceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.entityresolution.kotlin.inputs
import com.pulumi.awsnative.entityresolution.inputs.IdMappingWorkflowInputSourceArgs.builder
import com.pulumi.awsnative.entityresolution.kotlin.enums.IdMappingWorkflowInputSourceType
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property inputSourceArn An Glue table ARN for the input source table, MatchingWorkflow arn or IdNamespace ARN
* @property schemaArn The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the `SchemaMapping` .
* @property type The type of ID namespace. There are two types: `SOURCE` and `TARGET` .
* The `SOURCE` contains configurations for `sourceId` data that will be processed in an ID mapping workflow.
* The `TARGET` contains a configuration of `targetId` to which all `sourceIds` will resolve to.
*/
public data class IdMappingWorkflowInputSourceArgs(
public val inputSourceArn: Output,
public val schemaArn: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.entityresolution.inputs.IdMappingWorkflowInputSourceArgs =
com.pulumi.awsnative.entityresolution.inputs.IdMappingWorkflowInputSourceArgs.builder()
.inputSourceArn(inputSourceArn.applyValue({ args0 -> args0 }))
.schemaArn(schemaArn?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [IdMappingWorkflowInputSourceArgs].
*/
@PulumiTagMarker
public class IdMappingWorkflowInputSourceArgsBuilder internal constructor() {
private var inputSourceArn: Output? = null
private var schemaArn: Output? = null
private var type: Output? = null
/**
* @param value An Glue table ARN for the input source table, MatchingWorkflow arn or IdNamespace ARN
*/
@JvmName("temoiuxvospnmitd")
public suspend fun inputSourceArn(`value`: Output) {
this.inputSourceArn = value
}
/**
* @param value The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the `SchemaMapping` .
*/
@JvmName("bbjcppjkwixfhwtc")
public suspend fun schemaArn(`value`: Output) {
this.schemaArn = value
}
/**
* @param value The type of ID namespace. There are two types: `SOURCE` and `TARGET` .
* The `SOURCE` contains configurations for `sourceId` data that will be processed in an ID mapping workflow.
* The `TARGET` contains a configuration of `targetId` to which all `sourceIds` will resolve to.
*/
@JvmName("yewirttnhtwldags")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value An Glue table ARN for the input source table, MatchingWorkflow arn or IdNamespace ARN
*/
@JvmName("iemxoaysfoqialvw")
public suspend fun inputSourceArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.inputSourceArn = mapped
}
/**
* @param value The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the `SchemaMapping` .
*/
@JvmName("lhcowqhiwauphkvy")
public suspend fun schemaArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schemaArn = mapped
}
/**
* @param value The type of ID namespace. There are two types: `SOURCE` and `TARGET` .
* The `SOURCE` contains configurations for `sourceId` data that will be processed in an ID mapping workflow.
* The `TARGET` contains a configuration of `targetId` to which all `sourceIds` will resolve to.
*/
@JvmName("csacyysbgwcettkk")
public suspend fun type(`value`: IdMappingWorkflowInputSourceType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): IdMappingWorkflowInputSourceArgs = IdMappingWorkflowInputSourceArgs(
inputSourceArn = inputSourceArn ?: throw PulumiNullFieldException("inputSourceArn"),
schemaArn = schemaArn,
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy