Class DeploymentUpdater
- java.lang.Object
-
- com.twilio.base.Updater<Deployment>
-
- com.twilio.rest.preview.deployedDevices.fleet.DeploymentUpdater
-
public class DeploymentUpdater extends Updater<Deployment>
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
-
-
Constructor Summary
Constructors Constructor Description DeploymentUpdater(String pathFleetSid, String pathSid)
Construct a new DeploymentUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.twilio.base.Updater
update, updateAsync, updateAsync
-
-
-
-
Method Detail
-
setFriendlyName
public DeploymentUpdater setFriendlyName(String friendlyName)
Provides a human readable descriptive text for this Deployment, up to 64 characters long.- Parameters:
friendlyName
- A human readable description for this Deployment.- Returns:
- this
-
setSyncServiceSid
public 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..- Parameters:
syncServiceSid
- The unique identifier of the Sync service instance.- Returns:
- this
-
update
public Deployment update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.- Specified by:
update
in classUpdater<Deployment>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Updated Deployment
-
-