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

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

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

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

import com.pulumi.awsnative.entityresolution.inputs.MatchingWorkflowResolutionTechniquesArgs.builder
import com.pulumi.awsnative.entityresolution.kotlin.enums.MatchingWorkflowResolutionType
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property providerProperties The properties of the provider service.
 * @property resolutionType The type of matching. There are three types of matching: `RULE_MATCHING` , `ML_MATCHING` , and `PROVIDER` .
 * @property ruleBasedProperties An object which defines the list of matching rules to run and has a field `Rules` , which is a list of rule objects.
 */
public data class MatchingWorkflowResolutionTechniquesArgs(
    public val providerProperties: Output? = null,
    public val resolutionType: Output? = null,
    public val ruleBasedProperties: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.entityresolution.inputs.MatchingWorkflowResolutionTechniquesArgs =
        com.pulumi.awsnative.entityresolution.inputs.MatchingWorkflowResolutionTechniquesArgs.builder()
            .providerProperties(
                providerProperties?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .resolutionType(resolutionType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .ruleBasedProperties(
                ruleBasedProperties?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [MatchingWorkflowResolutionTechniquesArgs].
 */
@PulumiTagMarker
public class MatchingWorkflowResolutionTechniquesArgsBuilder internal constructor() {
    private var providerProperties: Output? = null

    private var resolutionType: Output? = null

    private var ruleBasedProperties: Output? = null

    /**
     * @param value The properties of the provider service.
     */
    @JvmName("wdyiypjqaamotjjk")
    public suspend fun providerProperties(`value`: Output) {
        this.providerProperties = value
    }

    /**
     * @param value The type of matching. There are three types of matching: `RULE_MATCHING` , `ML_MATCHING` , and `PROVIDER` .
     */
    @JvmName("urbwffgonicpqusm")
    public suspend fun resolutionType(`value`: Output) {
        this.resolutionType = value
    }

    /**
     * @param value An object which defines the list of matching rules to run and has a field `Rules` , which is a list of rule objects.
     */
    @JvmName("lmpsmrvvquqrpqih")
    public suspend fun ruleBasedProperties(`value`: Output) {
        this.ruleBasedProperties = value
    }

    /**
     * @param value The properties of the provider service.
     */
    @JvmName("wsdrblonnxeaxqcw")
    public suspend fun providerProperties(`value`: MatchingWorkflowProviderPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.providerProperties = mapped
    }

    /**
     * @param argument The properties of the provider service.
     */
    @JvmName("mqyadyvyffylmujc")
    public suspend fun providerProperties(argument: suspend MatchingWorkflowProviderPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = MatchingWorkflowProviderPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.providerProperties = mapped
    }

    /**
     * @param value The type of matching. There are three types of matching: `RULE_MATCHING` , `ML_MATCHING` , and `PROVIDER` .
     */
    @JvmName("uervafcjchddvpmu")
    public suspend fun resolutionType(`value`: MatchingWorkflowResolutionType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resolutionType = mapped
    }

    /**
     * @param value An object which defines the list of matching rules to run and has a field `Rules` , which is a list of rule objects.
     */
    @JvmName("iieoblhdsxslycok")
    public suspend fun ruleBasedProperties(`value`: MatchingWorkflowRuleBasedPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ruleBasedProperties = mapped
    }

    /**
     * @param argument An object which defines the list of matching rules to run and has a field `Rules` , which is a list of rule objects.
     */
    @JvmName("gmksccmwdeyfbsqq")
    public suspend fun ruleBasedProperties(argument: suspend MatchingWorkflowRuleBasedPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = MatchingWorkflowRuleBasedPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.ruleBasedProperties = mapped
    }

    internal fun build(): MatchingWorkflowResolutionTechniquesArgs =
        MatchingWorkflowResolutionTechniquesArgs(
            providerProperties = providerProperties,
            resolutionType = resolutionType,
            ruleBasedProperties = ruleBasedProperties,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy