public static class Reject.Builder extends TwiML.Builder<Reject.Builder>
<Reject>
elementConstructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Reject |
build()
Create and return resulting
<Reject> element |
static Reject.Builder |
fromXml(String xml)
Create and return a
<Reject.Builder> from an XML string |
Reject.Builder |
reason(Reject.Reason reason)
Rejection reason
|
addChild, addText, option
public static Reject.Builder fromXml(String xml) throws TwiMLException
<Reject.Builder>
from an XML stringTwiMLException
public Reject.Builder reason(Reject.Reason reason)
public Reject build()
<Reject>
elementCopyright © 2019 Twilio, Inc. All Rights Reserved.