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