![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.appflow.kotlin.outputs.FlowZendeskDestinationProperties.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appflow.kotlin.outputs
import com.pulumi.awsnative.appflow.kotlin.enums.FlowWriteOperationType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property errorHandlingConfig The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. `ErrorHandlingConfig` is a part of the destination connector details.
* @property idFieldNames List of fields used as ID when performing a write operation.
* @property object The object specified in the Zendesk flow destination.
* @property writeOperationType The possible write operations in the destination connector. When this value is not provided, this defaults to the `INSERT` operation.
*/
public data class FlowZendeskDestinationProperties(
public val errorHandlingConfig: FlowErrorHandlingConfig? = null,
public val idFieldNames: List? = null,
public val `object`: String,
public val writeOperationType: FlowWriteOperationType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.appflow.outputs.FlowZendeskDestinationProperties): FlowZendeskDestinationProperties = FlowZendeskDestinationProperties(
errorHandlingConfig = javaType.errorHandlingConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appflow.kotlin.outputs.FlowErrorHandlingConfig.Companion.toKotlin(args0)
})
}).orElse(null),
idFieldNames = javaType.idFieldNames().map({ args0 -> args0 }),
`object` = javaType.`object`(),
writeOperationType = javaType.writeOperationType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appflow.kotlin.enums.FlowWriteOperationType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy