Class FleetUpdater
- java.lang.Object
-
- com.twilio.base.Updater<Fleet>
-
- com.twilio.rest.preview.deployedDevices.FleetUpdater
-
public class FleetUpdater extends Updater<Fleet>
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 FleetUpdater(String pathSid)
Construct a new FleetUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FleetUpdater
setDefaultDeploymentSid(String defaultDeploymentSid)
Provides a string identifier of a Deployment that is going to be used as a default one for this Fleet..FleetUpdater
setFriendlyName(String friendlyName)
Provides a human readable descriptive text for this Fleet, up to 256 characters long..Fleet
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
-
-
-
-
Constructor Detail
-
FleetUpdater
public FleetUpdater(String pathSid)
Construct a new FleetUpdater.- Parameters:
pathSid
- A string that uniquely identifies the Fleet.
-
-
Method Detail
-
setFriendlyName
public FleetUpdater setFriendlyName(String friendlyName)
Provides a human readable descriptive text for this Fleet, up to 256 characters long..- Parameters:
friendlyName
- A human readable description for this Fleet.- Returns:
- this
-
setDefaultDeploymentSid
public FleetUpdater setDefaultDeploymentSid(String defaultDeploymentSid)
Provides a string identifier of a Deployment that is going to be used as a default one for this Fleet..- Parameters:
defaultDeploymentSid
- A default Deployment SID.- Returns:
- this
-
update
public Fleet update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
-
-