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

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

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

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

import com.pulumi.awsnative.entityresolution.inputs.MatchingWorkflowProviderPropertiesArgs.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 MatchingWorkflowProviderPropertiesArgs(
    public val intermediateSourceConfiguration: Output? = null,
    public val providerConfiguration: Output>? = null,
    public val providerServiceArn: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.entityresolution.inputs.MatchingWorkflowProviderPropertiesArgs =
        com.pulumi.awsnative.entityresolution.inputs.MatchingWorkflowProviderPropertiesArgs.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 [MatchingWorkflowProviderPropertiesArgs].
 */
@PulumiTagMarker
public class MatchingWorkflowProviderPropertiesArgsBuilder 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("wbxowivjjiqkrdmt")
    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("nlgvespiqkcfgfog")
    public suspend fun providerConfiguration(`value`: Output>) {
        this.providerConfiguration = value
    }

    /**
     * @param value Arn of the Provider service being used.
     */
    @JvmName("mlhnmaiujaftqlte")
    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("mtthrqphdnkbydrl")
    public suspend fun intermediateSourceConfiguration(`value`: MatchingWorkflowIntermediateSourceConfigurationArgs?) {
        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("jkonvycplhnpsqbq")
    public suspend fun intermediateSourceConfiguration(argument: suspend MatchingWorkflowIntermediateSourceConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = MatchingWorkflowIntermediateSourceConfigurationArgsBuilder().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("frmwshrdfbocmfox")
    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("bqmlemcchsqpgmqq")
    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("usdsegxogpcvhrkd")
    public suspend fun providerServiceArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.providerServiceArn = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy