Interface ParticipantTimerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ParticipantTimerConfiguration.Builder,,ParticipantTimerConfiguration> SdkBuilder<ParticipantTimerConfiguration.Builder,,ParticipantTimerConfiguration> SdkPojo
- Enclosing class:
ParticipantTimerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionparticipantRole(String participantRole) The role of the participant in the chat conversation.participantRole(TimerEligibleParticipantRoles participantRole) The role of the participant in the chat conversation.The type of timer.timerType(ParticipantTimerType timerType) The type of timer.timerValue(Consumer<ParticipantTimerValue.Builder> timerValue) The value of the timer.timerValue(ParticipantTimerValue timerValue) The value of the timer.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
participantRole
The role of the participant in the chat conversation.
- Parameters:
participantRole- The role of the participant in the chat conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
participantRole
ParticipantTimerConfiguration.Builder participantRole(TimerEligibleParticipantRoles participantRole) The role of the participant in the chat conversation.
- Parameters:
participantRole- The role of the participant in the chat conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timerType
The type of timer.
IDLEindicates the timer applies for considering a human chat participant as idle.DISCONNECT_NONCUSTOMERindicates the timer applies to automatically disconnecting a chat participant due to idleness.- Parameters:
timerType- The type of timer.IDLEindicates the timer applies for considering a human chat participant as idle.DISCONNECT_NONCUSTOMERindicates the timer applies to automatically disconnecting a chat participant due to idleness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timerType
The type of timer.
IDLEindicates the timer applies for considering a human chat participant as idle.DISCONNECT_NONCUSTOMERindicates the timer applies to automatically disconnecting a chat participant due to idleness.- Parameters:
timerType- The type of timer.IDLEindicates the timer applies for considering a human chat participant as idle.DISCONNECT_NONCUSTOMERindicates the timer applies to automatically disconnecting a chat participant due to idleness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timerValue
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.Builderavoiding the need to create one manually viaParticipantTimerValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimerValue(ParticipantTimerValue).- Parameters:
timerValue- a consumer that will call methods onParticipantTimerValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-