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

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

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

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

import com.pulumi.awsnative.customerprofiles.kotlin.enums.DomainConflictResolutionConflictResolvingModel
import kotlin.String
import kotlin.Suppress

/**
 * 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 (and that is the matching criteria), which EmailAddress should be used?
 * @property conflictResolvingModel How the auto-merging process should resolve conflicts between different profiles.
 * @property sourceName The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel.
 */
public data class DomainConflictResolution(
    public val conflictResolvingModel: DomainConflictResolutionConflictResolvingModel,
    public val sourceName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.customerprofiles.outputs.DomainConflictResolution): DomainConflictResolution = DomainConflictResolution(
            conflictResolvingModel = javaType.conflictResolvingModel().let({ args0 ->
                com.pulumi.awsnative.customerprofiles.kotlin.enums.DomainConflictResolutionConflictResolvingModel.Companion.toKotlin(args0)
            }),
            sourceName = javaType.sourceName().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy