Package com.bandwidth.voice.bxml.verbs
Class Transfer.TransferBuilder
- java.lang.Object
-
- com.bandwidth.voice.bxml.verbs.Transfer.TransferBuilder
-
-
Constructor Summary
Constructors Constructor Description TransferBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transfer.TransferBuilder
phoneNumbers(PhoneNumber... phoneNumbers)
A collection of phone numbers to transfer the call to.Transfer.TransferBuilder
phoneNumbers(List<PhoneNumber> phoneNumbers)
A collection of phone numbers to transfer the call to.Transfer.TransferBuilder
transferCompleteFallbackMethod(Method method)
Transfer.TransferBuilder
transferCompleteFallbackMethod(String method)
Transfer.TransferBuilder
transferCompleteFallbackUrl(String uri)
Transfer.TransferBuilder
transferCompleteFallbackUrl(URI uri)
Transfer.TransferBuilder
transferCompleteMethod(Method method)
(optional) The HTTP method to use for the request to transferCompleteUrl.Transfer.TransferBuilder
transferCompleteMethod(String method)
(optional) The HTTP method to use for the request to transferCompleteUrl.Transfer.TransferBuilder
transferCompleteUrl(String uri)
(optional) URL to send the Transfer Complete event to and request new BXML.Transfer.TransferBuilder
transferCompleteUrl(URI uri)
(optional) URL to send the Transfer Complete event to and request new BXML.
-
-
-
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)
-
transferCompleteFallbackUrl
public Transfer.TransferBuilder transferCompleteFallbackUrl(URI uri)
-
transferCompleteFallbackUrl
public Transfer.TransferBuilder transferCompleteFallbackUrl(String 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)
-
transferCompleteFallbackMethod
public Transfer.TransferBuilder transferCompleteFallbackMethod(Method method)
-
transferCompleteFallbackMethod
public Transfer.TransferBuilder transferCompleteFallbackMethod(String 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.
-
phoneNumbers
public Transfer.TransferBuilder phoneNumbers(List<PhoneNumber> phoneNumbers)
A collection of phone numbers to transfer the call to. The first to answer will be transferred.
-
-