Interface OutboundCallConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OutboundCallConfig.Builder,OutboundCallConfig>, SdkBuilder<OutboundCallConfig.Builder,OutboundCallConfig>, SdkPojo
Enclosing class:
OutboundCallConfig

public static interface OutboundCallConfig.Builder extends SdkPojo, CopyableBuilder<OutboundCallConfig.Builder,OutboundCallConfig>
  • Method Details

    • connectContactFlowId

      OutboundCallConfig.Builder connectContactFlowId(String connectContactFlowId)
      Sets the value of the ConnectContactFlowId property for this object.
      Parameters:
      connectContactFlowId - The new value for the ConnectContactFlowId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectSourcePhoneNumber

      OutboundCallConfig.Builder connectSourcePhoneNumber(String connectSourcePhoneNumber)
      Sets the value of the ConnectSourcePhoneNumber property for this object.
      Parameters:
      connectSourcePhoneNumber - The new value for the ConnectSourcePhoneNumber property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectQueueId

      OutboundCallConfig.Builder connectQueueId(String connectQueueId)
      Sets the value of the ConnectQueueId property for this object.
      Parameters:
      connectQueueId - The new value for the ConnectQueueId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • answerMachineDetectionConfig

      OutboundCallConfig.Builder answerMachineDetectionConfig(AnswerMachineDetectionConfig answerMachineDetectionConfig)
      Sets the value of the AnswerMachineDetectionConfig property for this object.
      Parameters:
      answerMachineDetectionConfig - The new value for the AnswerMachineDetectionConfig property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • answerMachineDetectionConfig

      default OutboundCallConfig.Builder answerMachineDetectionConfig(Consumer<AnswerMachineDetectionConfig.Builder> answerMachineDetectionConfig)
      Sets the value of the AnswerMachineDetectionConfig property for this object. This is a convenience method that creates an instance of the AnswerMachineDetectionConfig.Builder avoiding the need to create one manually via AnswerMachineDetectionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to answerMachineDetectionConfig(AnswerMachineDetectionConfig).

      Parameters:
      answerMachineDetectionConfig - a consumer that will call methods on AnswerMachineDetectionConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: