
com.pulumi.awsnative.connect.kotlin.inputs.UserPhoneConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.inputs
import com.pulumi.awsnative.connect.inputs.UserPhoneConfigArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.UserPhoneType
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.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Contains information about the phone configuration settings for a user.
* @property afterContactWorkTimeLimit The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
* > When returned by a `SearchUsers` call, `AfterContactWorkTimeLimit` is returned in milliseconds.
* @property autoAccept The Auto accept setting.
* @property deskPhoneNumber The phone number for the user's desk phone.
* @property phoneType The phone type.
*/
public data class UserPhoneConfigArgs(
public val afterContactWorkTimeLimit: Output? = null,
public val autoAccept: Output? = null,
public val deskPhoneNumber: Output? = null,
public val phoneType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.inputs.UserPhoneConfigArgs =
com.pulumi.awsnative.connect.inputs.UserPhoneConfigArgs.builder()
.afterContactWorkTimeLimit(afterContactWorkTimeLimit?.applyValue({ args0 -> args0 }))
.autoAccept(autoAccept?.applyValue({ args0 -> args0 }))
.deskPhoneNumber(deskPhoneNumber?.applyValue({ args0 -> args0 }))
.phoneType(phoneType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [UserPhoneConfigArgs].
*/
@PulumiTagMarker
public class UserPhoneConfigArgsBuilder internal constructor() {
private var afterContactWorkTimeLimit: Output? = null
private var autoAccept: Output? = null
private var deskPhoneNumber: Output? = null
private var phoneType: Output? = null
/**
* @param value The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
* > When returned by a `SearchUsers` call, `AfterContactWorkTimeLimit` is returned in milliseconds.
*/
@JvmName("behnrypioskrqqyo")
public suspend fun afterContactWorkTimeLimit(`value`: Output) {
this.afterContactWorkTimeLimit = value
}
/**
* @param value The Auto accept setting.
*/
@JvmName("pitngrdsjglvtvmk")
public suspend fun autoAccept(`value`: Output) {
this.autoAccept = value
}
/**
* @param value The phone number for the user's desk phone.
*/
@JvmName("kyoccujxfiyfrmub")
public suspend fun deskPhoneNumber(`value`: Output) {
this.deskPhoneNumber = value
}
/**
* @param value The phone type.
*/
@JvmName("waxqecffkikkxtny")
public suspend fun phoneType(`value`: Output) {
this.phoneType = value
}
/**
* @param value The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
* > When returned by a `SearchUsers` call, `AfterContactWorkTimeLimit` is returned in milliseconds.
*/
@JvmName("cayrbkhjkmxhnngf")
public suspend fun afterContactWorkTimeLimit(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.afterContactWorkTimeLimit = mapped
}
/**
* @param value The Auto accept setting.
*/
@JvmName("gvukenvnlqhduxat")
public suspend fun autoAccept(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.autoAccept = mapped
}
/**
* @param value The phone number for the user's desk phone.
*/
@JvmName("xyumlarfwenmfxmb")
public suspend fun deskPhoneNumber(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.deskPhoneNumber = mapped
}
/**
* @param value The phone type.
*/
@JvmName("kifrnyxilabtbhki")
public suspend fun phoneType(`value`: UserPhoneType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.phoneType = mapped
}
internal fun build(): UserPhoneConfigArgs = UserPhoneConfigArgs(
afterContactWorkTimeLimit = afterContactWorkTimeLimit,
autoAccept = autoAccept,
deskPhoneNumber = deskPhoneNumber,
phoneType = phoneType ?: throw PulumiNullFieldException("phoneType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy