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

com.pulumi.aws.appflow.kotlin.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.appflow.kotlin.inputs

import com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property errorHandlingConfig
 * @property idFieldNames
 * @property object
 * @property writeOperationType
 */
public data class FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskArgs(
    public val errorHandlingConfig: Output? =
        null,
    public val idFieldNames: Output>? = null,
    public val `object`: Output,
    public val writeOperationType: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskArgs =
        com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskArgs.builder()
            .errorHandlingConfig(
                errorHandlingConfig?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .idFieldNames(idFieldNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .`object`(`object`.applyValue({ args0 -> args0 }))
            .writeOperationType(writeOperationType?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskArgs].
 */
@PulumiTagMarker
public class FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskArgsBuilder internal constructor() {
    private var errorHandlingConfig:
        Output? =
        null

    private var idFieldNames: Output>? = null

    private var `object`: Output? = null

    private var writeOperationType: Output? = null

    /**
     * @param value
     */
    @JvmName("cgaxfcikhqcjkcxp")
    public suspend fun errorHandlingConfig(`value`: Output) {
        this.errorHandlingConfig = value
    }

    /**
     * @param value
     */
    @JvmName("ywlaabndjskljeab")
    public suspend fun idFieldNames(`value`: Output>) {
        this.idFieldNames = value
    }

    @JvmName("bbnstvgmwwujcodm")
    public suspend fun idFieldNames(vararg values: Output) {
        this.idFieldNames = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("aipsgpjahkbhyxpc")
    public suspend fun idFieldNames(values: List>) {
        this.idFieldNames = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("xxegqmbpfrjidivv")
    public suspend fun `object`(`value`: Output) {
        this.`object` = value
    }

    /**
     * @param value
     */
    @JvmName("wbolhttnyevhpsvd")
    public suspend fun writeOperationType(`value`: Output) {
        this.writeOperationType = value
    }

    /**
     * @param value
     */
    @JvmName("mgjukoheghrfuudq")
    public suspend fun errorHandlingConfig(`value`: FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskErrorHandlingConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.errorHandlingConfig = mapped
    }

    /**
     * @param argument
     */
    @JvmName("tkcjqujhfaulpmhs")
    public suspend fun errorHandlingConfig(argument: suspend FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskErrorHandlingConfigArgsBuilder.() -> Unit) {
        val toBeMapped =
            FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskErrorHandlingConfigArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.errorHandlingConfig = mapped
    }

    /**
     * @param value
     */
    @JvmName("usiddefmyxmftowt")
    public suspend fun idFieldNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.idFieldNames = mapped
    }

    /**
     * @param values
     */
    @JvmName("ikujxrwmxhlulxym")
    public suspend fun idFieldNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.idFieldNames = mapped
    }

    /**
     * @param value
     */
    @JvmName("irpifsobfdpeyxkx")
    public suspend fun `object`(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`object` = mapped
    }

    /**
     * @param value
     */
    @JvmName("fbcnwjanlwircwqn")
    public suspend fun writeOperationType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.writeOperationType = mapped
    }

    internal fun build(): FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskArgs =
        FlowDestinationFlowConfigDestinationConnectorPropertiesZendeskArgs(
            errorHandlingConfig = errorHandlingConfig,
            idFieldNames = idFieldNames,
            `object` = `object` ?: throw PulumiNullFieldException("object"),
            writeOperationType = writeOperationType,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy