Class Transfer.TransferBuilder

  • Enclosing class:
    Transfer

    public static class Transfer.TransferBuilder
    extends Object
    • Constructor Detail

      • TransferBuilder

        public TransferBuilder()
    • Method Detail

      • transferCompleteUrl

        public Transfer.TransferBuilder transferCompleteUrl​(URI uri)
        (optional) URL to send the Transfer Complete event to and request new BXML.
      • transferCompleteUrl

        public Transfer.TransferBuilder transferCompleteUrl​(String uri)
        (optional) URL to send the Transfer Complete event to and request new BXML. Converts String using URI.create(uri)
      • transferCompleteMethod

        public Transfer.TransferBuilder transferCompleteMethod​(Method method)
        (optional) The HTTP method to use for the request to transferCompleteUrl. GET or POST. Default value is POST.
      • transferCompleteMethod

        public Transfer.TransferBuilder transferCompleteMethod​(String method)
        (optional) The HTTP method to use for the request to transferCompleteUrl. GET or POST. Default value is POST. Converts from String using Method.fromValue(method)
      • phoneNumbers

        public Transfer.TransferBuilder phoneNumbers​(PhoneNumber... phoneNumbers)
        A collection of phone numbers to transfer the call to. The first to answer will be transferred.