
com.pulumi.awsnative.connect.kotlin.inputs.RoutingProfileCrossChannelBehaviorArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.inputs
import com.pulumi.awsnative.connect.inputs.RoutingProfileCrossChannelBehaviorArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.RoutingProfileBehaviorType
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.Suppress
import kotlin.jvm.JvmName
/**
* Defines the cross-channel routing behavior that allows an agent working on a contact in one channel to be offered a contact from a different channel.
* @property behaviorType Specifies the other channels that can be routed to an agent handling their current channel.
*/
public data class RoutingProfileCrossChannelBehaviorArgs(
public val behaviorType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.RoutingProfileCrossChannelBehaviorArgs = com.pulumi.awsnative.connect.inputs.RoutingProfileCrossChannelBehaviorArgs.builder()
.behaviorType(behaviorType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [RoutingProfileCrossChannelBehaviorArgs].
*/
@PulumiTagMarker
public class RoutingProfileCrossChannelBehaviorArgsBuilder internal constructor() {
private var behaviorType: Output? = null
/**
* @param value Specifies the other channels that can be routed to an agent handling their current channel.
*/
@JvmName("maeeovvieqskjfki")
public suspend fun behaviorType(`value`: Output) {
this.behaviorType = value
}
/**
* @param value Specifies the other channels that can be routed to an agent handling their current channel.
*/
@JvmName("hreoqemdbwqnycai")
public suspend fun behaviorType(`value`: RoutingProfileBehaviorType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.behaviorType = mapped
}
internal fun build(): RoutingProfileCrossChannelBehaviorArgs =
RoutingProfileCrossChannelBehaviorArgs(
behaviorType = behaviorType ?: throw PulumiNullFieldException("behaviorType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy