public class DeploymentUpdater extends Updater<Deployment>
Constructor and Description |
---|
DeploymentUpdater(String pathFleetSid,
String pathSid)
Construct a new DeploymentUpdater.
|
Modifier and Type | Method and Description |
---|---|
DeploymentUpdater |
setFriendlyName(String friendlyName)
Provides a human readable descriptive text for this Deployment, up to 64
characters long.
|
DeploymentUpdater |
setSyncServiceSid(String syncServiceSid)
Provides the unique string identifier of the Twilio Sync service instance
that will be linked to and accessible by this Deployment..
|
Deployment |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public DeploymentUpdater setFriendlyName(String friendlyName)
friendlyName
- A human readable description for this Deployment.public DeploymentUpdater setSyncServiceSid(String syncServiceSid)
syncServiceSid
- The unique identifier of the Sync service instance.public Deployment update(TwilioRestClient client)
update
in class Updater<Deployment>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.