Package com.bandwidth.voice.bxml.verbs
Class Record.RecordBuilder
java.lang.Object
com.bandwidth.voice.bxml.verbs.Record.RecordBuilder
- Enclosing class:
- Record
public static class Record.RecordBuilder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description RecordBuilder()
-
Method Summary
Modifier and Type Method Description Record.RecordBuilder
recordCompleteMethod(Method method)
(optional) The HTTP method to use for the request to recordCompleteUrl.Record.RecordBuilder
recordCompleteMethod(java.lang.String method)
(optional) The HTTP method to use for the request to recordCompleteUrl.Record.RecordBuilder
recordCompleteUrl(java.lang.String uri)
(required) URL to request new BXML from.Record.RecordBuilder
recordCompleteUrl(java.net.URI uri)
(required) URL to send the Record Complete event to once it has ended.Record.RecordBuilder
recordingAvailableMethod(Method method)
(optional) The HTTP method to use for the request to recordingAvailableUrl.Record.RecordBuilder
recordingAvailableMethod(java.lang.String method)
(optional) The HTTP method to use for the request to recordingAvailableUrl.Record.RecordBuilder
recordingAvailableUrl(java.lang.String uri)
(required) URL to send the Recording Available event to once it has been processed.Record.RecordBuilder
recordingAvailableUrl(java.net.URI uri)
(required) URL to send the Recording Available event to once it has been processed.Record.RecordBuilder
transcriptionAvailableMethod(Method method)
(optional) The HTTP method to use for the request to transcriptionAvailableUrl.Record.RecordBuilder
transcriptionAvailableMethod(java.lang.String method)
(optional) The HTTP method to use for the request to transcriptionAvailableUrl.Record.RecordBuilder
transcriptionAvailableUrl(java.lang.String uri)
(required) URL to send the transcriptionAvailable event to.Record.RecordBuilder
transcriptionAvailableUrl(java.net.URI uri)
(required) URL to send the transcriptionAvailable event to.
-
Constructor Details
-
RecordBuilder
public RecordBuilder()
-
-
Method Details
-
transcriptionAvailableUrl
(required) URL to send the transcriptionAvailable event to. -
transcriptionAvailableUrl
(required) URL to send the transcriptionAvailable event to. -
transcriptionAvailableMethod
(optional) The HTTP method to use for the request to transcriptionAvailableUrl. GET or POST. Default Value is POST. -
transcriptionAvailableMethod
(optional) The HTTP method to use for the request to transcriptionAvailableUrl. GET or POST. Default Value is POST. Converts String to Method using Method.fromValue(method) -
recordCompleteUrl
(required) URL to send the Record Complete event to once it has ended. Accepts BXML. -
recordCompleteUrl
(required) URL to request new BXML from. A Record event will be sent to this endpoint. Converts to URI using URI.create(url) -
recordCompleteMethod
(optional) The HTTP method to use for the request to recordCompleteUrl. GET or POST. Default Value is POST. -
recordCompleteMethod
(optional) The HTTP method to use for the request to recordCompleteUrl. GET or POST. Default Value is POST. Converts String to Method using Method.fromValue(method) -
recordingAvailableUrl
(required) URL to send the Recording Available event to once it has been processed. Does not accept BXML. -
recordingAvailableUrl
(required) URL to send the Recording Available event to once it has been processed. Does not accept BXML. -
recordingAvailableMethod
(optional) The HTTP method to use for the request to recordingAvailableUrl. GET or POST. Default Value is POST. -
recordingAvailableMethod
(optional) The HTTP method to use for the request to recordingAvailableUrl. GET or POST. Default Value is POST. Converts String to Method using Method.fromValue(method)
-