@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParticipantTimerConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ParticipantTimerConfiguration() |
Modifier and Type | Method and Description |
---|---|
ParticipantTimerConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getParticipantRole()
The role of the participant in the chat conversation.
|
String |
getTimerType()
The type of timer.
|
ParticipantTimerValue |
getTimerValue()
The value of the timer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setParticipantRole(String participantRole)
The role of the participant in the chat conversation.
|
void |
setTimerType(String timerType)
The type of timer.
|
void |
setTimerValue(ParticipantTimerValue timerValue)
The value of the timer.
|
String |
toString()
Returns a string representation of this object.
|
ParticipantTimerConfiguration |
withParticipantRole(String participantRole)
The role of the participant in the chat conversation.
|
ParticipantTimerConfiguration |
withParticipantRole(TimerEligibleParticipantRoles participantRole)
The role of the participant in the chat conversation.
|
ParticipantTimerConfiguration |
withTimerType(ParticipantTimerType timerType)
The type of timer.
|
ParticipantTimerConfiguration |
withTimerType(String timerType)
The type of timer.
|
ParticipantTimerConfiguration |
withTimerValue(ParticipantTimerValue timerValue)
The value of the timer.
|
public void setParticipantRole(String participantRole)
The role of the participant in the chat conversation.
participantRole
- The role of the participant in the chat conversation.TimerEligibleParticipantRoles
public String getParticipantRole()
The role of the participant in the chat conversation.
TimerEligibleParticipantRoles
public ParticipantTimerConfiguration withParticipantRole(String participantRole)
The role of the participant in the chat conversation.
participantRole
- The role of the participant in the chat conversation.TimerEligibleParticipantRoles
public ParticipantTimerConfiguration withParticipantRole(TimerEligibleParticipantRoles participantRole)
The role of the participant in the chat conversation.
participantRole
- The role of the participant in the chat conversation.TimerEligibleParticipantRoles
public void setTimerType(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
public String getTimerType()
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.
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
public ParticipantTimerConfiguration withTimerType(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
public ParticipantTimerConfiguration withTimerType(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
public void setTimerValue(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.public ParticipantTimerValue getTimerValue()
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 withTimerValue(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.public String toString()
toString
in class Object
Object.toString()
public ParticipantTimerConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.