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

com.pulumi.aws.customerprofiles.kotlin.inputs.DomainMatchingAutoMergingConflictResolutionArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.customerprofiles.kotlin.inputs

import com.pulumi.aws.customerprofiles.inputs.DomainMatchingAutoMergingConflictResolutionArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property conflictResolvingModel How the auto-merging process should resolve conflicts between different profiles. Valid values are `RECENCY` and `SOURCE`
 * @property sourceName The `ObjectType` name that is used to resolve profile merging conflicts when choosing `SOURCE` as the `ConflictResolvingModel`.
 */
public data class DomainMatchingAutoMergingConflictResolutionArgs(
    public val conflictResolvingModel: Output,
    public val sourceName: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.customerprofiles.inputs.DomainMatchingAutoMergingConflictResolutionArgs =
        com.pulumi.aws.customerprofiles.inputs.DomainMatchingAutoMergingConflictResolutionArgs.builder()
            .conflictResolvingModel(conflictResolvingModel.applyValue({ args0 -> args0 }))
            .sourceName(sourceName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DomainMatchingAutoMergingConflictResolutionArgs].
 */
@PulumiTagMarker
public class DomainMatchingAutoMergingConflictResolutionArgsBuilder internal constructor() {
    private var conflictResolvingModel: Output? = null

    private var sourceName: Output? = null

    /**
     * @param value How the auto-merging process should resolve conflicts between different profiles. Valid values are `RECENCY` and `SOURCE`
     */
    @JvmName("nqykptvlnjoenurs")
    public suspend fun conflictResolvingModel(`value`: Output) {
        this.conflictResolvingModel = value
    }

    /**
     * @param value The `ObjectType` name that is used to resolve profile merging conflicts when choosing `SOURCE` as the `ConflictResolvingModel`.
     */
    @JvmName("johweifdapxceahm")
    public suspend fun sourceName(`value`: Output) {
        this.sourceName = value
    }

    /**
     * @param value How the auto-merging process should resolve conflicts between different profiles. Valid values are `RECENCY` and `SOURCE`
     */
    @JvmName("dtepqpdxfaudawea")
    public suspend fun conflictResolvingModel(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.conflictResolvingModel = mapped
    }

    /**
     * @param value The `ObjectType` name that is used to resolve profile merging conflicts when choosing `SOURCE` as the `ConflictResolvingModel`.
     */
    @JvmName("qthrivkotcuygoyg")
    public suspend fun sourceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceName = mapped
    }

    internal fun build(): DomainMatchingAutoMergingConflictResolutionArgs =
        DomainMatchingAutoMergingConflictResolutionArgs(
            conflictResolvingModel = conflictResolvingModel ?: throw
                PulumiNullFieldException("conflictResolvingModel"),
            sourceName = sourceName,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy