Class Gather.GatherBuilder

java.lang.Object
com.bandwidth.voice.bxml.verbs.Gather.GatherBuilder
Enclosing class:
Gather

public static class Gather.GatherBuilder
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    GatherBuilder()  
  • Method Summary

    Modifier and Type Method Description
    Gather.GatherBuilder gatherMethod​(Method method)
    (optional) he HTTP method to use for the request to gatherUrl.
    Gather.GatherBuilder gatherMethod​(java.lang.String method)
    (optional) he HTTP method to use for the request to gatherUrl.
    Gather.GatherBuilder gatherUrl​(java.lang.String url)
    (optional) URL to send Gather event to and request new BXML.
    Gather.GatherBuilder gatherUrl​(java.net.URI url)
    (optional) URL to send Gather event to and request new BXML.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • gatherUrl

      public Gather.GatherBuilder gatherUrl​(java.lang.String url)
      (optional) URL to send Gather event to and request new BXML. Converts string using URI.create(url).
    • gatherUrl

      public Gather.GatherBuilder gatherUrl​(java.net.URI url)
      (optional) URL to send Gather event to and request new BXML.
    • gatherMethod

      public Gather.GatherBuilder gatherMethod​(java.lang.String method)
      (optional) he HTTP method to use for the request to gatherUrl. GET or POST. Default value is POST. Converts String to Method using Method.fromValue(method)
    • gatherMethod

      public Gather.GatherBuilder gatherMethod​(Method method)
      (optional) he HTTP method to use for the request to gatherUrl. GET or POST. Default value is POST.