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

com.pulumi.awsnative.connect.kotlin.inputs.QueueOutboundCallerConfigArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.inputs

import com.pulumi.awsnative.connect.inputs.QueueOutboundCallerConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The outbound caller ID name, number, and outbound whisper flow.
 * @property outboundCallerIdName The caller ID name.
 * @property outboundCallerIdNumberArn The Amazon Resource Name (ARN) of the outbound caller ID number.
 * > Only use the phone number ARN format that doesn't contain `instance` in the path, for example, `arn:aws:connect:us-east-1:1234567890:phone-number/uuid` . This is the same ARN format that is returned when you create a phone number using CloudFormation , or when you call the [ListPhoneNumbersV2](https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html) API.
 * @property outboundFlowArn The Amazon Resource Name (ARN) of the outbound flow.
 */
public data class QueueOutboundCallerConfigArgs(
    public val outboundCallerIdName: Output? = null,
    public val outboundCallerIdNumberArn: Output? = null,
    public val outboundFlowArn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.connect.inputs.QueueOutboundCallerConfigArgs =
        com.pulumi.awsnative.connect.inputs.QueueOutboundCallerConfigArgs.builder()
            .outboundCallerIdName(outboundCallerIdName?.applyValue({ args0 -> args0 }))
            .outboundCallerIdNumberArn(outboundCallerIdNumberArn?.applyValue({ args0 -> args0 }))
            .outboundFlowArn(outboundFlowArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [QueueOutboundCallerConfigArgs].
 */
@PulumiTagMarker
public class QueueOutboundCallerConfigArgsBuilder internal constructor() {
    private var outboundCallerIdName: Output? = null

    private var outboundCallerIdNumberArn: Output? = null

    private var outboundFlowArn: Output? = null

    /**
     * @param value The caller ID name.
     */
    @JvmName("swpcimfcmesfdeog")
    public suspend fun outboundCallerIdName(`value`: Output) {
        this.outboundCallerIdName = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the outbound caller ID number.
     * > Only use the phone number ARN format that doesn't contain `instance` in the path, for example, `arn:aws:connect:us-east-1:1234567890:phone-number/uuid` . This is the same ARN format that is returned when you create a phone number using CloudFormation , or when you call the [ListPhoneNumbersV2](https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html) API.
     */
    @JvmName("kdrfcfcghqnnvxdy")
    public suspend fun outboundCallerIdNumberArn(`value`: Output) {
        this.outboundCallerIdNumberArn = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the outbound flow.
     */
    @JvmName("alftdwuhdtihysvk")
    public suspend fun outboundFlowArn(`value`: Output) {
        this.outboundFlowArn = value
    }

    /**
     * @param value The caller ID name.
     */
    @JvmName("jwygklxsvhdmbpcp")
    public suspend fun outboundCallerIdName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.outboundCallerIdName = mapped
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the outbound caller ID number.
     * > Only use the phone number ARN format that doesn't contain `instance` in the path, for example, `arn:aws:connect:us-east-1:1234567890:phone-number/uuid` . This is the same ARN format that is returned when you create a phone number using CloudFormation , or when you call the [ListPhoneNumbersV2](https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html) API.
     */
    @JvmName("evepqbwushlsarsq")
    public suspend fun outboundCallerIdNumberArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.outboundCallerIdNumberArn = mapped
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the outbound flow.
     */
    @JvmName("teqhhsmjfbtdfkvs")
    public suspend fun outboundFlowArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.outboundFlowArn = mapped
    }

    internal fun build(): QueueOutboundCallerConfigArgs = QueueOutboundCallerConfigArgs(
        outboundCallerIdName = outboundCallerIdName,
        outboundCallerIdNumberArn = outboundCallerIdNumberArn,
        outboundFlowArn = outboundFlowArn,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy