| Constructor and Description |
|---|
TrunkUpdater(String sid)
Construct a new TrunkUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
Trunk |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
TrunkUpdater |
setDisasterRecoveryMethod(HttpMethod disasterRecoveryMethod)
The disaster_recovery_method.
|
TrunkUpdater |
setDisasterRecoveryUrl(String disasterRecoveryUrl)
The disaster_recovery_url.
|
TrunkUpdater |
setDisasterRecoveryUrl(URI disasterRecoveryUrl)
The disaster_recovery_url.
|
TrunkUpdater |
setDomainName(String domainName)
The domain_name.
|
TrunkUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
TrunkUpdater |
setRecording(String recording)
The recording.
|
TrunkUpdater |
setSecure(Boolean secure)
The secure.
|
public TrunkUpdater(String sid)
sid - The sidpublic TrunkUpdater setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic TrunkUpdater setDomainName(String domainName)
domainName - The domain_namepublic TrunkUpdater setDisasterRecoveryUrl(URI disasterRecoveryUrl)
disasterRecoveryUrl - The disaster_recovery_urlpublic TrunkUpdater setDisasterRecoveryUrl(String disasterRecoveryUrl)
disasterRecoveryUrl - The disaster_recovery_urlpublic TrunkUpdater setDisasterRecoveryMethod(HttpMethod disasterRecoveryMethod)
disasterRecoveryMethod - The disaster_recovery_methodpublic TrunkUpdater setRecording(String recording)
recording - The recordingpublic TrunkUpdater setSecure(Boolean secure)
secure - The securepublic Trunk execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.