![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.connect.kotlin.outputs.GetQueueResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.outputs
import com.pulumi.awsnative.connect.kotlin.enums.QueueStatus
import com.pulumi.awsnative.connect.kotlin.enums.QueueType
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 queueArn The Amazon Resource Name (ARN) for the queue.
* @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.
* @property type The type of queue.
*/
public data class GetQueueResult(
public val description: String? = null,
public val hoursOfOperationArn: String? = null,
public val instanceArn: String? = null,
public val maxContacts: Int? = null,
public val name: String? = null,
public val outboundCallerConfig: QueueOutboundCallerConfig? = null,
public val queueArn: String? = null,
public val quickConnectArns: List? = null,
public val status: QueueStatus? = null,
public val tags: List? = null,
public val type: QueueType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.GetQueueResult): GetQueueResult = GetQueueResult(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
hoursOfOperationArn = javaType.hoursOfOperationArn().map({ args0 -> args0 }).orElse(null),
instanceArn = javaType.instanceArn().map({ args0 -> args0 }).orElse(null),
maxContacts = javaType.maxContacts().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
outboundCallerConfig = javaType.outboundCallerConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.connect.kotlin.outputs.QueueOutboundCallerConfig.Companion.toKotlin(args0)
})
}).orElse(null),
queueArn = javaType.queueArn().map({ args0 -> args0 }).orElse(null),
quickConnectArns = javaType.quickConnectArns().map({ args0 -> args0 }),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.connect.kotlin.enums.QueueStatus.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
type = javaType.type().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.connect.kotlin.enums.QueueType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy