public static interface ParticipantTimerConfiguration.Builder extends SdkPojo, CopyableBuilder<ParticipantTimerConfiguration.Builder,ParticipantTimerConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ParticipantTimerConfiguration.Builder |
participantRole(String participantRole)
The role of the participant in the chat conversation.
|
ParticipantTimerConfiguration.Builder |
participantRole(TimerEligibleParticipantRoles participantRole)
The role of the participant in the chat conversation.
|
ParticipantTimerConfiguration.Builder |
timerType(ParticipantTimerType timerType)
The type of timer.
|
ParticipantTimerConfiguration.Builder |
timerType(String timerType)
The type of timer.
|
default ParticipantTimerConfiguration.Builder |
timerValue(Consumer<ParticipantTimerValue.Builder> timerValue)
The value of the timer.
|
ParticipantTimerConfiguration.Builder |
timerValue(ParticipantTimerValue timerValue)
The value of the timer.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildParticipantTimerConfiguration.Builder participantRole(String participantRole)
The role of the participant in the chat conversation.
participantRole - The role of the participant in the chat conversation.TimerEligibleParticipantRoles,
TimerEligibleParticipantRolesParticipantTimerConfiguration.Builder participantRole(TimerEligibleParticipantRoles participantRole)
The role of the participant in the chat conversation.
participantRole - The role of the participant in the chat conversation.TimerEligibleParticipantRoles,
TimerEligibleParticipantRolesParticipantTimerConfiguration.Builder timerType(String timerType)
The type of timer. IDLE indicates the timer applies for considering a human chat participant as
idle. DISCONNECT_NONCUSTOMER indicates the timer applies to automatically disconnecting a chat
participant due to idleness.
timerType - The type of timer. IDLE indicates the timer applies for considering a human chat
participant as idle. DISCONNECT_NONCUSTOMER indicates the timer applies to automatically
disconnecting a chat participant due to idleness.ParticipantTimerType,
ParticipantTimerTypeParticipantTimerConfiguration.Builder timerType(ParticipantTimerType timerType)
The type of timer. IDLE indicates the timer applies for considering a human chat participant as
idle. DISCONNECT_NONCUSTOMER indicates the timer applies to automatically disconnecting a chat
participant due to idleness.
timerType - The type of timer. IDLE indicates the timer applies for considering a human chat
participant as idle. DISCONNECT_NONCUSTOMER indicates the timer applies to automatically
disconnecting a chat participant due to idleness.ParticipantTimerType,
ParticipantTimerTypeParticipantTimerConfiguration.Builder timerValue(ParticipantTimerValue timerValue)
The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the timer in minutes. Only one value can be set.
timerValue - The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the
timer in minutes. Only one value can be set.default ParticipantTimerConfiguration.Builder timerValue(Consumer<ParticipantTimerValue.Builder> timerValue)
The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the timer in minutes. Only one value can be set.
This is a convenience method that creates an instance of theParticipantTimerValue.Builder avoiding
the need to create one manually via ParticipantTimerValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to timerValue(ParticipantTimerValue).
timerValue - a consumer that will call methods on ParticipantTimerValue.BuildertimerValue(ParticipantTimerValue)Copyright © 2023. All rights reserved.