| Constructor and Description |
|---|
Builder(String body)
Create a
<Task> with body |
| Modifier and Type | Method and Description |
|---|---|
Task |
build()
Create and return resulting
<Task> element |
Task.Builder |
option(String key,
String value)
Set additional attributes on this TwiML element that will appear in generated
XML.
|
Task.Builder |
priority(Integer priority)
Task priority
|
Task.Builder |
timeout(Integer timeout)
Timeout associated with task
|
public Builder(String body)
<Task> with bodypublic Task.Builder priority(Integer priority)
public Task.Builder timeout(Integer timeout)
public Task.Builder option(String key, String value)
public Task build()
<Task> elementCopyright © 2016 Twilio, Inc. All Rights Reserved.