pub struct Builder { /* private fields */ }
Expand description
A builder for AnswerMachineDetectionConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn enable_answer_machine_detection(self, input: bool) -> Self
pub fn enable_answer_machine_detection(self, input: bool) -> Self
The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set to true
, TrafficType
must be set as CAMPAIGN
.
sourcepub fn set_enable_answer_machine_detection(self, input: Option<bool>) -> Self
pub fn set_enable_answer_machine_detection(self, input: Option<bool>) -> Self
The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set to true
, TrafficType
must be set as CAMPAIGN
.
sourcepub fn await_answer_machine_prompt(self, input: bool) -> Self
pub fn await_answer_machine_prompt(self, input: bool) -> Self
Wait for the answering machine prompt.
sourcepub fn set_await_answer_machine_prompt(self, input: Option<bool>) -> Self
pub fn set_await_answer_machine_prompt(self, input: Option<bool>) -> Self
Wait for the answering machine prompt.
sourcepub fn build(self) -> AnswerMachineDetectionConfig
pub fn build(self) -> AnswerMachineDetectionConfig
Consumes the builder and constructs a AnswerMachineDetectionConfig
.