Constructor and Description |
---|
AccountUpdater()
Construct a new AccountUpdater.
|
AccountUpdater(String pathSid)
Construct a new AccountUpdater.
|
Modifier and Type | Method and Description |
---|---|
AccountUpdater |
setFriendlyName(String friendlyName)
Update the human-readable description of this Account.
|
AccountUpdater |
setStatus(Account.Status status)
Alter the status of this account: use `closed` to irreversibly close this
account, `suspended` to temporarily suspend it, or `active` to reactivate
it..
|
Account |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public AccountUpdater()
public AccountUpdater(String pathSid)
pathSid
- Update by unique Account Sidpublic AccountUpdater setFriendlyName(String friendlyName)
friendlyName
- FriendlyName to updatepublic AccountUpdater setStatus(Account.Status status)
status
- Status to update the Account withpublic Account update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.