![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datafactory.kotlin.inputs.DynamicsCrmSinkArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.DynamicsCrmSinkArgs.builder
import com.pulumi.azurenative.datafactory.kotlin.enums.DynamicsSinkWriteBehavior
import com.pulumi.core.Either
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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A copy activity Dynamics CRM sink.
* @property alternateKeyName The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string).
* @property disableMetricsCollection If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
* @property ignoreNullValues The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean).
* @property maxConcurrentConnections The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
* @property sinkRetryCount Sink retry count. Type: integer (or Expression with resultType integer).
* @property sinkRetryWait Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property type Copy sink type.
* Expected value is 'DynamicsCrmSink'.
* @property writeBatchSize Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
* @property writeBatchTimeout Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property writeBehavior The write behavior for the operation.
*/
public data class DynamicsCrmSinkArgs(
public val alternateKeyName: Output? = null,
public val disableMetricsCollection: Output? = null,
public val ignoreNullValues: Output? = null,
public val maxConcurrentConnections: Output? = null,
public val sinkRetryCount: Output? = null,
public val sinkRetryWait: Output? = null,
public val type: Output,
public val writeBatchSize: Output? = null,
public val writeBatchTimeout: Output? = null,
public val writeBehavior: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.DynamicsCrmSinkArgs =
com.pulumi.azurenative.datafactory.inputs.DynamicsCrmSinkArgs.builder()
.alternateKeyName(alternateKeyName?.applyValue({ args0 -> args0 }))
.disableMetricsCollection(disableMetricsCollection?.applyValue({ args0 -> args0 }))
.ignoreNullValues(ignoreNullValues?.applyValue({ args0 -> args0 }))
.maxConcurrentConnections(maxConcurrentConnections?.applyValue({ args0 -> args0 }))
.sinkRetryCount(sinkRetryCount?.applyValue({ args0 -> args0 }))
.sinkRetryWait(sinkRetryWait?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.writeBatchSize(writeBatchSize?.applyValue({ args0 -> args0 }))
.writeBatchTimeout(writeBatchTimeout?.applyValue({ args0 -> args0 }))
.writeBehavior(
writeBehavior.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [DynamicsCrmSinkArgs].
*/
@PulumiTagMarker
public class DynamicsCrmSinkArgsBuilder internal constructor() {
private var alternateKeyName: Output? = null
private var disableMetricsCollection: Output? = null
private var ignoreNullValues: Output? = null
private var maxConcurrentConnections: Output? = null
private var sinkRetryCount: Output? = null
private var sinkRetryWait: Output? = null
private var type: Output? = null
private var writeBatchSize: Output? = null
private var writeBatchTimeout: Output? = null
private var writeBehavior: Output>? = null
/**
* @param value The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string).
*/
@JvmName("sljxeeqnekfqrxqc")
public suspend fun alternateKeyName(`value`: Output) {
this.alternateKeyName = value
}
/**
* @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("jmqciptsmkekjhaf")
public suspend fun disableMetricsCollection(`value`: Output) {
this.disableMetricsCollection = value
}
/**
* @param value The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("ohphkymnbrdwtduv")
public suspend fun ignoreNullValues(`value`: Output) {
this.ignoreNullValues = value
}
/**
* @param value The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
*/
@JvmName("twcqteojnqyrphrv")
public suspend fun maxConcurrentConnections(`value`: Output) {
this.maxConcurrentConnections = value
}
/**
* @param value Sink retry count. Type: integer (or Expression with resultType integer).
*/
@JvmName("nsgexhoctevtmdop")
public suspend fun sinkRetryCount(`value`: Output) {
this.sinkRetryCount = value
}
/**
* @param value Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("nktuorejvuthifod")
public suspend fun sinkRetryWait(`value`: Output) {
this.sinkRetryWait = value
}
/**
* @param value Copy sink type.
* Expected value is 'DynamicsCrmSink'.
*/
@JvmName("monitcttxowtwhoq")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
*/
@JvmName("svhkvupgsrfkjvey")
public suspend fun writeBatchSize(`value`: Output) {
this.writeBatchSize = value
}
/**
* @param value Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("teyrgwilwdsbtrel")
public suspend fun writeBatchTimeout(`value`: Output) {
this.writeBatchTimeout = value
}
/**
* @param value The write behavior for the operation.
*/
@JvmName("tyoavjsrmknomkvc")
public suspend fun writeBehavior(`value`: Output>) {
this.writeBehavior = value
}
/**
* @param value The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string).
*/
@JvmName("hnhgncgoeanwspyu")
public suspend fun alternateKeyName(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.alternateKeyName = mapped
}
/**
* @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("ekuxqinwgedwbblh")
public suspend fun disableMetricsCollection(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disableMetricsCollection = mapped
}
/**
* @param value The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("tvvjflsdppadfysy")
public suspend fun ignoreNullValues(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ignoreNullValues = mapped
}
/**
* @param value The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
*/
@JvmName("kndwvxvpitkddeoo")
public suspend fun maxConcurrentConnections(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxConcurrentConnections = mapped
}
/**
* @param value Sink retry count. Type: integer (or Expression with resultType integer).
*/
@JvmName("oloxrcqudxjxcscb")
public suspend fun sinkRetryCount(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sinkRetryCount = mapped
}
/**
* @param value Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("urpywxmrnlbrmssh")
public suspend fun sinkRetryWait(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sinkRetryWait = mapped
}
/**
* @param value Copy sink type.
* Expected value is 'DynamicsCrmSink'.
*/
@JvmName("gescjvmkyofhweyl")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
*/
@JvmName("cqbhajoqtgcsdloh")
public suspend fun writeBatchSize(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.writeBatchSize = mapped
}
/**
* @param value Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("gkwhnsewumxmltje")
public suspend fun writeBatchTimeout(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.writeBatchTimeout = mapped
}
/**
* @param value The write behavior for the operation.
*/
@JvmName("cyflhaoesmcmdtws")
public suspend fun writeBehavior(`value`: Either) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.writeBehavior = mapped
}
/**
* @param value The write behavior for the operation.
*/
@JvmName("ykegpvemgonsmpbg")
public fun writeBehavior(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.writeBehavior = mapped
}
/**
* @param value The write behavior for the operation.
*/
@JvmName("eckmjoopquaeyihx")
public fun writeBehavior(`value`: DynamicsSinkWriteBehavior) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.writeBehavior = mapped
}
internal fun build(): DynamicsCrmSinkArgs = DynamicsCrmSinkArgs(
alternateKeyName = alternateKeyName,
disableMetricsCollection = disableMetricsCollection,
ignoreNullValues = ignoreNullValues,
maxConcurrentConnections = maxConcurrentConnections,
sinkRetryCount = sinkRetryCount,
sinkRetryWait = sinkRetryWait,
type = type ?: throw PulumiNullFieldException("type"),
writeBatchSize = writeBatchSize,
writeBatchTimeout = writeBatchTimeout,
writeBehavior = writeBehavior ?: throw PulumiNullFieldException("writeBehavior"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy