public class RecordingSettingsCreator extends Creator<RecordingSettings>
Constructor and Description |
---|
RecordingSettingsCreator(String friendlyName)
Construct a new RecordingSettingsCreator.
|
Modifier and Type | Method and Description |
---|---|
RecordingSettings |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
RecordingSettingsCreator |
setAwsCredentialsSid(String awsCredentialsSid)
The SID of the stored Credential resource..
|
RecordingSettingsCreator |
setAwsS3Url(String awsS3Url)
The URL of the AWS S3 bucket where the recordings should be stored.
|
RecordingSettingsCreator |
setAwsS3Url(URI awsS3Url)
The URL of the AWS S3 bucket where the recordings should be stored.
|
RecordingSettingsCreator |
setAwsStorageEnabled(Boolean awsStorageEnabled)
Whether all recordings should be written to the `aws_s3_url`.
|
RecordingSettingsCreator |
setEncryptionEnabled(Boolean encryptionEnabled)
Whether all recordings should be stored in an encrypted form.
|
RecordingSettingsCreator |
setEncryptionKeySid(String encryptionKeySid)
The SID of the Public Key resource to use for encryption..
|
create, createAsync, createAsync
public RecordingSettingsCreator(String friendlyName)
friendlyName
- A string to describe the resourcepublic RecordingSettingsCreator setAwsCredentialsSid(String awsCredentialsSid)
awsCredentialsSid
- The SID of the stored Credential resourcepublic RecordingSettingsCreator setEncryptionKeySid(String encryptionKeySid)
encryptionKeySid
- The SID of the Public Key resource to use for
encryptionpublic RecordingSettingsCreator setAwsS3Url(URI awsS3Url)
awsS3Url
- The URL of the AWS S3 bucket where the recordings should be
storedpublic RecordingSettingsCreator setAwsS3Url(String awsS3Url)
awsS3Url
- The URL of the AWS S3 bucket where the recordings should be
storedpublic RecordingSettingsCreator setAwsStorageEnabled(Boolean awsStorageEnabled)
awsStorageEnabled
- Whether all recordings should be written to the
aws_s3_urlpublic RecordingSettingsCreator setEncryptionEnabled(Boolean encryptionEnabled)
encryptionEnabled
- Whether all recordings should be stored in an
encrypted formpublic RecordingSettings create(TwilioRestClient client)
create
in class Creator<RecordingSettings>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.