Interface ParticipantTimerConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ParticipantTimerConfiguration.Builder,ParticipantTimerConfiguration>,SdkBuilder<ParticipantTimerConfiguration.Builder,ParticipantTimerConfiguration>,SdkPojo
- Enclosing class:
- ParticipantTimerConfiguration
public static interface ParticipantTimerConfiguration.Builder extends SdkPojo, CopyableBuilder<ParticipantTimerConfiguration.Builder,ParticipantTimerConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ParticipantTimerConfiguration.BuilderparticipantRole(String participantRole)The role of the participant in the chat conversation.ParticipantTimerConfiguration.BuilderparticipantRole(TimerEligibleParticipantRoles participantRole)The role of the participant in the chat conversation.ParticipantTimerConfiguration.BuildertimerType(String timerType)The type of timer.ParticipantTimerConfiguration.BuildertimerType(ParticipantTimerType timerType)The type of timer.default ParticipantTimerConfiguration.BuildertimerValue(Consumer<ParticipantTimerValue.Builder> timerValue)The value of the timer.ParticipantTimerConfiguration.BuildertimerValue(ParticipantTimerValue timerValue)The value of the timer.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
participantRole
ParticipantTimerConfiguration.Builder participantRole(String 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:
TimerEligibleParticipantRoles,TimerEligibleParticipantRoles
-
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:
TimerEligibleParticipantRoles,TimerEligibleParticipantRoles
-
timerType
ParticipantTimerConfiguration.Builder timerType(String 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:
ParticipantTimerType,ParticipantTimerType
-
timerType
ParticipantTimerConfiguration.Builder timerType(ParticipantTimerType 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:
ParticipantTimerType,ParticipantTimerType
-
timerValue
ParticipantTimerConfiguration.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.
- 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:
timerValue(ParticipantTimerValue)
-
-