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

com.pulumi.awsnative.entityresolution.kotlin.inputs.IdMappingWorkflowProviderPropertiesArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.entityresolution.kotlin.inputs

import com.pulumi.awsnative.entityresolution.inputs.IdMappingWorkflowProviderPropertiesArgs.builder
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 com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property intermediateSourceConfiguration The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
 * @property providerConfiguration Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format
 * @property providerServiceArn Arn of the Provider Service being used.
 */
public data class IdMappingWorkflowProviderPropertiesArgs(
    public val intermediateSourceConfiguration: Output? = null,
    public val providerConfiguration: Output>? = null,
    public val providerServiceArn: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.entityresolution.inputs.IdMappingWorkflowProviderPropertiesArgs =
        com.pulumi.awsnative.entityresolution.inputs.IdMappingWorkflowProviderPropertiesArgs.builder()
            .intermediateSourceConfiguration(
                intermediateSourceConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .providerConfiguration(
                providerConfiguration?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .providerServiceArn(providerServiceArn.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [IdMappingWorkflowProviderPropertiesArgs].
 */
@PulumiTagMarker
public class IdMappingWorkflowProviderPropertiesArgsBuilder internal constructor() {
    private var intermediateSourceConfiguration:
        Output? = null

    private var providerConfiguration: Output>? = null

    private var providerServiceArn: Output? = null

    /**
     * @param value The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
     */
    @JvmName("dehvhjwkfklffrok")
    public suspend fun intermediateSourceConfiguration(`value`: Output) {
        this.intermediateSourceConfiguration = value
    }

    /**
     * @param value Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format
     */
    @JvmName("jfrsvyuxbofitlfm")
    public suspend fun providerConfiguration(`value`: Output>) {
        this.providerConfiguration = value
    }

    /**
     * @param value Arn of the Provider Service being used.
     */
    @JvmName("yvehudehkrrsurte")
    public suspend fun providerServiceArn(`value`: Output) {
        this.providerServiceArn = value
    }

    /**
     * @param value The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
     */
    @JvmName("ersybjvexoedohrr")
    public suspend fun intermediateSourceConfiguration(`value`: IdMappingWorkflowIntermediateSourceConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.intermediateSourceConfiguration = mapped
    }

    /**
     * @param argument The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
     */
    @JvmName("yexnncliwebccfum")
    public suspend fun intermediateSourceConfiguration(argument: suspend IdMappingWorkflowIntermediateSourceConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = IdMappingWorkflowIntermediateSourceConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.intermediateSourceConfiguration = mapped
    }

    /**
     * @param value Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format
     */
    @JvmName("yvfphkqdsmqtjbvp")
    public suspend fun providerConfiguration(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.providerConfiguration = mapped
    }

    /**
     * @param values Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format
     */
    @JvmName("mgahasifiehkovqh")
    public fun providerConfiguration(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.providerConfiguration = mapped
    }

    /**
     * @param value Arn of the Provider Service being used.
     */
    @JvmName("rrwgwvuigumkixcc")
    public suspend fun providerServiceArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.providerServiceArn = mapped
    }

    internal fun build(): IdMappingWorkflowProviderPropertiesArgs =
        IdMappingWorkflowProviderPropertiesArgs(
            intermediateSourceConfiguration = intermediateSourceConfiguration,
            providerConfiguration = providerConfiguration,
            providerServiceArn = providerServiceArn ?: throw PulumiNullFieldException("providerServiceArn"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy