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