@Generated(value="software.amazon.awssdk:codegen") public final class ParticipantTimerConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParticipantTimerConfiguration.Builder,ParticipantTimerConfiguration>
Configuration information for the timer. After the timer configuration is set, it persists for the duration of the chat. It persists across new contacts in the chain, for example, transfer contacts.
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParticipantTimerConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ParticipantTimerConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
TimerEligibleParticipantRoles |
participantRole()
The role of the participant in the chat conversation.
|
String |
participantRoleAsString()
The role of the participant in the chat conversation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ParticipantTimerConfiguration.Builder> |
serializableBuilderClass() |
ParticipantTimerType |
timerType()
The type of timer.
|
String |
timerTypeAsString()
The type of timer.
|
ParticipantTimerValue |
timerValue()
The value of the timer.
|
ParticipantTimerConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TimerEligibleParticipantRoles participantRole()
The role of the participant in the chat conversation.
If the service returns an enum value that is not available in the current SDK version, participantRole
will return TimerEligibleParticipantRoles.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from participantRoleAsString().
TimerEligibleParticipantRolespublic final String participantRoleAsString()
The role of the participant in the chat conversation.
If the service returns an enum value that is not available in the current SDK version, participantRole
will return TimerEligibleParticipantRoles.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from participantRoleAsString().
TimerEligibleParticipantRolespublic final 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.
If the service returns an enum value that is not available in the current SDK version, timerType will
return ParticipantTimerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from timerTypeAsString().
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.ParticipantTimerTypepublic final String timerTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, timerType will
return ParticipantTimerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from timerTypeAsString().
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.ParticipantTimerTypepublic final 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.
public ParticipantTimerConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ParticipantTimerConfiguration.Builder,ParticipantTimerConfiguration>public static ParticipantTimerConfiguration.Builder builder()
public static Class<? extends ParticipantTimerConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.