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 Hangup
build()
Create and return resulting<Hangup>
elementstatic Hangup.Builder
fromXml(String xml)
Create and return a<Hangup.Builder>
from an XML stringHangup.Builder
parameter(Parameter parameter)
Add a child<Parameter>
element-
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
-
parameter
public Hangup.Builder parameter(Parameter parameter)
Add a child<Parameter>
element
-
build
public Hangup build()
Create and return resulting<Hangup>
element
-
-