Constructor and Description |
---|
DocumentUpdater(String pathServiceSid,
String pathSid)
Construct a new DocumentUpdater.
|
Modifier and Type | Method and Description |
---|---|
DocumentUpdater |
setData(Map<String,Object> data)
Contains an arbitrary JSON object to be stored in this Document.
|
DocumentUpdater |
setTtl(Integer ttl)
New time-to-live of this Document in seconds.
|
Document |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public DocumentUpdater setData(Map<String,Object> data)
data
- Contains an arbitrary JSON object to be stored in this Document.public DocumentUpdater setTtl(Integer ttl)
ttl
- New time-to-live of this Document in seconds.public Document update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.