Class SVAMLControl.Builder

java.lang.Object
com.sinch.sdk.domains.voice.models.svaml.SVAMLControl.Builder
Enclosing class:
SVAMLControl

public static class SVAMLControl.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setInstructions

      public SVAMLControl.Builder setInstructions(Collection<Instruction> instructions)
      The collection of instructions that can perform various tasks during the call
      Parameters:
      instructions - Instructions list
      Returns:
      Current builder
    • setAction

      public SVAMLControl.Builder setAction(Action action)
      The action that will control the call
      Parameters:
      action - The action description
      Returns:
      Current builder
    • build

      public SVAMLControl build()
      Build the instance
      Returns:
      Built instance