Class VoiceContext.Builder

java.lang.Object
com.sinch.sdk.models.VoiceContext.Builder
Enclosing class:
VoiceContext

public static class VoiceContext.Builder extends Object
Dedicated Builder
Since:
1.0
  • Method Details

    • setVoiceRegion

      public VoiceContext.Builder setVoiceRegion(VoiceRegion voiceRegion)
      Set region to be used for Voice service
      Parameters:
      voiceRegion - The region
      Returns:
      Current builder
      Since:
      1.0
    • setVoiceUrl

      public VoiceContext.Builder setVoiceUrl(String voiceUrl)
      Set Voice URL to be used
      Parameters:
      voiceUrl - Voice URL
      Returns:
      Current builder
      Since:
      1.0
    • setVoiceApplicationMngmtUrl

      public VoiceContext.Builder setVoiceApplicationMngmtUrl(String voiceApplicationMngmtUrl)
      Set URL dedicated to Voice Application management to be used
      Parameters:
      voiceApplicationMngmtUrl - Voice Application Management URL
      Returns:
      Current builder
      Since:
      1.0
    • build

      public VoiceContext build()
      Create instance
      Returns:
      The instance build with current builder values
      Since:
      1.0