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

com.pulumi.azure.cosmosdb.kotlin.outputs.SqlContainerConflictResolutionPolicy.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.cosmosdb.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property conflictResolutionPath The conflict resolution path in the case of `LastWriterWins` mode.
 * @property conflictResolutionProcedure The procedure to resolve conflicts in the case of `Custom` mode.
 * @property mode Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.
 */
public data class SqlContainerConflictResolutionPolicy(
    public val conflictResolutionPath: String? = null,
    public val conflictResolutionProcedure: String? = null,
    public val mode: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.cosmosdb.outputs.SqlContainerConflictResolutionPolicy): SqlContainerConflictResolutionPolicy = SqlContainerConflictResolutionPolicy(
            conflictResolutionPath = javaType.conflictResolutionPath().map({ args0 -> args0 }).orElse(null),
            conflictResolutionProcedure = javaType.conflictResolutionProcedure().map({ args0 ->
                args0
            }).orElse(null),
            mode = javaType.mode(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy