Class TwiML.Builder<T extends TwiML.Builder<T>>

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • option

        public T option​(String key,
                        String value)
        Set additional attributes on this TwiML element that will appear in generated XML.
      • addText

        public T addText​(String text)
        Add a text node as a child element
      • addChild

        public T addChild​(GenericNode node)
        Returns:
        TwiML object