public class FleetUpdater extends Updater<Fleet>
Constructor and Description |
---|
FleetUpdater(String pathSid)
Construct a new FleetUpdater.
|
Modifier and Type | Method and 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.
|
update, updateAsync, updateAsync
public FleetUpdater(String pathSid)
pathSid
- A string that uniquely identifies the Fleet.public FleetUpdater setFriendlyName(String friendlyName)
friendlyName
- A human readable description for this Fleet.public FleetUpdater setDefaultDeploymentSid(String defaultDeploymentSid)
defaultDeploymentSid
- A default Deployment SID.public Fleet update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.