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