![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.connect.kotlin.QueueArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin
import com.pulumi.awsnative.connect.QueueArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.QueueStatus
import com.pulumi.awsnative.connect.kotlin.inputs.QueueOutboundCallerConfigArgs
import com.pulumi.awsnative.connect.kotlin.inputs.QueueOutboundCallerConfigArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::Connect::Queue
* @property description The description of the queue.
* @property hoursOfOperationArn The identifier for the hours of operation.
* @property instanceArn The identifier of the Amazon Connect instance.
* @property maxContacts The maximum number of contacts that can be in the queue before it is considered full.
* @property name The name of the queue.
* @property outboundCallerConfig The outbound caller ID name, number, and outbound whisper flow.
* @property quickConnectArns The quick connects available to agents who are working the queue.
* @property status The status of the queue.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class QueueArgs(
public val description: Output? = null,
public val hoursOfOperationArn: Output? = null,
public val instanceArn: Output? = null,
public val maxContacts: Output? = null,
public val name: Output? = null,
public val outboundCallerConfig: Output? = null,
public val quickConnectArns: Output>? = null,
public val status: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.QueueArgs =
com.pulumi.awsnative.connect.QueueArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.hoursOfOperationArn(hoursOfOperationArn?.applyValue({ args0 -> args0 }))
.instanceArn(instanceArn?.applyValue({ args0 -> args0 }))
.maxContacts(maxContacts?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.outboundCallerConfig(
outboundCallerConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.quickConnectArns(quickConnectArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [QueueArgs].
*/
@PulumiTagMarker
public class QueueArgsBuilder internal constructor() {
private var description: Output? = null
private var hoursOfOperationArn: Output? = null
private var instanceArn: Output? = null
private var maxContacts: Output? = null
private var name: Output? = null
private var outboundCallerConfig: Output? = null
private var quickConnectArns: Output>? = null
private var status: Output? = null
private var tags: Output>? = null
/**
* @param value The description of the queue.
*/
@JvmName("hfbsbfrqamhdlyda")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The identifier for the hours of operation.
*/
@JvmName("raomnmoklncgkmnj")
public suspend fun hoursOfOperationArn(`value`: Output) {
this.hoursOfOperationArn = value
}
/**
* @param value The identifier of the Amazon Connect instance.
*/
@JvmName("shnxufeqbkuecwpt")
public suspend fun instanceArn(`value`: Output) {
this.instanceArn = value
}
/**
* @param value The maximum number of contacts that can be in the queue before it is considered full.
*/
@JvmName("ktcvlkoudmisbhjr")
public suspend fun maxContacts(`value`: Output) {
this.maxContacts = value
}
/**
* @param value The name of the queue.
*/
@JvmName("gowjumxolhefgeul")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The outbound caller ID name, number, and outbound whisper flow.
*/
@JvmName("rlnjjbeycgspxrat")
public suspend fun outboundCallerConfig(`value`: Output) {
this.outboundCallerConfig = value
}
/**
* @param value The quick connects available to agents who are working the queue.
*/
@JvmName("uvopoyffrjowcdrv")
public suspend fun quickConnectArns(`value`: Output>) {
this.quickConnectArns = value
}
@JvmName("xqgwebeexakeafyh")
public suspend fun quickConnectArns(vararg values: Output) {
this.quickConnectArns = Output.all(values.asList())
}
/**
* @param values The quick connects available to agents who are working the queue.
*/
@JvmName("glkovfiqeaewjtsj")
public suspend fun quickConnectArns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy