![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.appflow.kotlin.inputs.FlowEventBridgeDestinationPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appflow.kotlin.inputs
import com.pulumi.awsnative.appflow.inputs.FlowEventBridgeDestinationPropertiesArgs.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.jvm.JvmName
/**
*
* @property errorHandlingConfig The object specified in the Amplitude flow source.
* @property object The object specified in the Amazon EventBridge flow destination.
*/
public data class FlowEventBridgeDestinationPropertiesArgs(
public val errorHandlingConfig: Output? = null,
public val `object`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appflow.inputs.FlowEventBridgeDestinationPropertiesArgs =
com.pulumi.awsnative.appflow.inputs.FlowEventBridgeDestinationPropertiesArgs.builder()
.errorHandlingConfig(
errorHandlingConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.`object`(`object`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FlowEventBridgeDestinationPropertiesArgs].
*/
@PulumiTagMarker
public class FlowEventBridgeDestinationPropertiesArgsBuilder internal constructor() {
private var errorHandlingConfig: Output? = null
private var `object`: Output? = null
/**
* @param value The object specified in the Amplitude flow source.
*/
@JvmName("vtaigxxojovhcjrm")
public suspend fun errorHandlingConfig(`value`: Output) {
this.errorHandlingConfig = value
}
/**
* @param value The object specified in the Amazon EventBridge flow destination.
*/
@JvmName("yrrcwctldjauxrjn")
public suspend fun `object`(`value`: Output) {
this.`object` = value
}
/**
* @param value The object specified in the Amplitude flow source.
*/
@JvmName("xwvmfrlwljwhujop")
public suspend fun errorHandlingConfig(`value`: FlowErrorHandlingConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.errorHandlingConfig = mapped
}
/**
* @param argument The object specified in the Amplitude flow source.
*/
@JvmName("xktaihwfdshmtcvx")
public suspend fun errorHandlingConfig(argument: suspend FlowErrorHandlingConfigArgsBuilder.() -> Unit) {
val toBeMapped = FlowErrorHandlingConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.errorHandlingConfig = mapped
}
/**
* @param value The object specified in the Amazon EventBridge flow destination.
*/
@JvmName("avlaieuwsxpcmpic")
public suspend fun `object`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`object` = mapped
}
internal fun build(): FlowEventBridgeDestinationPropertiesArgs =
FlowEventBridgeDestinationPropertiesArgs(
errorHandlingConfig = errorHandlingConfig,
`object` = `object` ?: throw PulumiNullFieldException("object"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy