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