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

com.pulumi.awsnative.customerprofiles.kotlin.outputs.DomainAutoMerging.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.customerprofiles.kotlin.outputs

import kotlin.Boolean
import kotlin.Double
import kotlin.Suppress

/**
 * Configuration information about the auto-merging process.
 * @property conflictResolution Determines how the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same `FirstName` and `LastName` , `ConflictResolution` specifies which `EmailAddress` should be used.
 * @property consolidation A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.
 * @property enabled The flag that enables the auto-merging of duplicate profiles.
 * @property minAllowedConfidenceScoreForMerging A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
 */
public data class DomainAutoMerging(
    public val conflictResolution: DomainConflictResolution? = null,
    public val consolidation: DomainConsolidation? = null,
    public val enabled: Boolean,
    public val minAllowedConfidenceScoreForMerging: Double? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.customerprofiles.outputs.DomainAutoMerging): DomainAutoMerging = DomainAutoMerging(
            conflictResolution = javaType.conflictResolution().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.outputs.DomainConflictResolution.Companion.toKotlin(args0)
                })
            }).orElse(null),
            consolidation = javaType.consolidation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.outputs.DomainConsolidation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            enabled = javaType.enabled(),
            minAllowedConfidenceScoreForMerging = javaType.minAllowedConfidenceScoreForMerging().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy