com.pulumi.awsnative.entityresolution.kotlin.SchemaMappingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.entityresolution.kotlin
import com.pulumi.awsnative.entityresolution.SchemaMappingArgs.builder
import com.pulumi.awsnative.entityresolution.kotlin.inputs.SchemaMappingSchemaInputAttributeArgs
import com.pulumi.awsnative.entityresolution.kotlin.inputs.SchemaMappingSchemaInputAttributeArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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
/**
* SchemaMapping defined in AWS Entity Resolution service
* @property description The description of the SchemaMapping
* @property mappedInputFields The SchemaMapping attributes input
* @property schemaName The name of the SchemaMapping
* @property tags The tags used to organize, track, or control access for this resource.
*/
public data class SchemaMappingArgs(
public val description: Output? = null,
public val mappedInputFields: Output>? = null,
public val schemaName: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.entityresolution.SchemaMappingArgs =
com.pulumi.awsnative.entityresolution.SchemaMappingArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.mappedInputFields(
mappedInputFields?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.schemaName(schemaName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [SchemaMappingArgs].
*/
@PulumiTagMarker
public class SchemaMappingArgsBuilder internal constructor() {
private var description: Output? = null
private var mappedInputFields: Output>? = null
private var schemaName: Output? = null
private var tags: Output>? = null
/**
* @param value The description of the SchemaMapping
*/
@JvmName("slcbkkhjquwkdbev")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The SchemaMapping attributes input
*/
@JvmName("wthrytsrhbetqnmi")
public suspend fun mappedInputFields(`value`: Output>) {
this.mappedInputFields = value
}
@JvmName("jwqchsfwiegabecb")
public suspend fun mappedInputFields(vararg values: Output) {
this.mappedInputFields = Output.all(values.asList())
}
/**
* @param values The SchemaMapping attributes input
*/
@JvmName("mbbdhcnbruqyjuhl")
public suspend fun mappedInputFields(values: List