pub struct Builder { /* private fields */ }
Expand description
A builder for ParticipantTimerConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn participant_role(self, input: TimerEligibleParticipantRoles) -> Self
pub fn participant_role(self, input: TimerEligibleParticipantRoles) -> Self
The role of the participant in the chat conversation.
sourcepub fn set_participant_role(
self,
input: Option<TimerEligibleParticipantRoles>
) -> Self
pub fn set_participant_role(
self,
input: Option<TimerEligibleParticipantRoles>
) -> Self
The role of the participant in the chat conversation.
sourcepub fn timer_type(self, input: ParticipantTimerType) -> Self
pub fn timer_type(self, input: ParticipantTimerType) -> Self
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.
sourcepub fn set_timer_type(self, input: Option<ParticipantTimerType>) -> Self
pub fn set_timer_type(self, input: Option<ParticipantTimerType>) -> Self
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.
sourcepub fn timer_value(self, input: ParticipantTimerValue) -> Self
pub fn timer_value(self, input: ParticipantTimerValue) -> Self
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.
sourcepub fn set_timer_value(self, input: Option<ParticipantTimerValue>) -> Self
pub fn set_timer_value(self, input: Option<ParticipantTimerValue>) -> Self
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.
sourcepub fn build(self) -> ParticipantTimerConfiguration
pub fn build(self) -> ParticipantTimerConfiguration
Consumes the builder and constructs a ParticipantTimerConfiguration
.