Class CalloutRequestParameters.Builder<B extends CalloutRequestParameters.Builder<B>>

java.lang.Object
com.sinch.sdk.domains.voice.models.requests.CalloutRequestParameters.Builder<B>
Direct Known Subclasses:
CalloutRequestParametersConference.Builder, CalloutRequestParametersCustom.Builder, CalloutRequestParametersTTS.Builder
Enclosing class:
CalloutRequestParameters

public static class CalloutRequestParameters.Builder<B extends CalloutRequestParameters.Builder<B>> extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setDestination

      public B setDestination(Destination destination)
      Parameters:
      destination - The type of device and number or endpoint to call
      Returns:
      current builder
    • setCli

      public B setCli(E164PhoneNumber cli)
      Parameters:
      cli - The number that will be displayed as the incoming caller. To set your own CLI, you may use your verified number or your Dashboard number
      Returns:
      current builder
    • setDtfm

      public B setDtfm(DualToneMultiFrequency dtfm)
      Parameters:
      dtfm - When the destination picks up, this DTMF tones will be played to the callee.
      Returns:
      current builder
    • setCustom

      public B setCustom(String custom)
      Parameters:
      custom - Custom data
      Returns:
      current builder