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