Package com.twilio.twiml.voice
Class Hangup.Builder
- java.lang.Object
-
- com.twilio.twiml.TwiML.Builder<Hangup.Builder>
-
- com.twilio.twiml.voice.Hangup.Builder
-
- Enclosing class:
- Hangup
public static class Hangup.Builder extends TwiML.Builder<Hangup.Builder>
Create a new<Hangup>element
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Hangupbuild()Create and return resulting<Hangup>elementstatic Hangup.BuilderfromXml(String xml)Create and return a<Hangup.Builder>from an XML string-
Methods inherited from class com.twilio.twiml.TwiML.Builder
addChild, addText, option
-
-
-
-
Method Detail
-
fromXml
public static Hangup.Builder fromXml(String xml) throws TwiMLException
Create and return a<Hangup.Builder>from an XML string- Throws:
TwiMLException
-
build
public Hangup build()
Create and return resulting<Hangup>element
-
-