Package com.twilio.rest.video.v1
Class RecordingSettings
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.video.v1.RecordingSettings
-
- All Implemented Interfaces:
Serializable
public class RecordingSettings extends Resource
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecordingSettingsCreator
creator(String friendlyName)
Create a RecordingSettingsCreator to execute create.boolean
equals(Object o)
static RecordingSettingsFetcher
fetcher()
Create a RecordingSettingsFetcher to execute fetch.static RecordingSettings
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a RecordingSettings object using the provided ObjectMapper.static RecordingSettings
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a RecordingSettings object using the provided ObjectMapper.String
getAccountSid()
Returns The The Twilio Account SID associated with this item.String
getAwsCredentialsSid()
Returns The SID of the Stored Credential resource CRxx.URI
getAwsS3Url()
Returns The URL of the S3 bucket where the recordings should be stored.Boolean
getAwsStorageEnabled()
Returns The true|false When set to true, all Recordings will be written to the AwsS3Url specified above.Boolean
getEncryptionEnabled()
Returns The true|false When set to true, all Recordings will be stored encrypted..String
getEncryptionKeySid()
Returns The SID of the Public Key resource CRxx.String
getFriendlyName()
Returns The Friendly name of the configuration to be shown in the console.URI
getUrl()
Returns The The url.int
hashCode()
String
toString()
-
-
-
Method Detail
-
fetcher
public static RecordingSettingsFetcher fetcher()
Create a RecordingSettingsFetcher to execute fetch.- Returns:
- RecordingSettingsFetcher capable of executing the fetch
-
creator
public static RecordingSettingsCreator creator(String friendlyName)
Create a RecordingSettingsCreator to execute create.- Parameters:
friendlyName
- Friendly name of the configuration to be shown in the console- Returns:
- RecordingSettingsCreator capable of executing the create
-
fromJson
public static RecordingSettings fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a RecordingSettings object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- RecordingSettings object represented by the provided JSON
-
fromJson
public static RecordingSettings fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a RecordingSettings object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- RecordingSettings object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
Returns The The Twilio Account SID associated with this item.- Returns:
- The Twilio Account SID associated with this item
-
getFriendlyName
public final String getFriendlyName()
Returns The Friendly name of the configuration to be shown in the console.- Returns:
- Friendly name of the configuration to be shown in the console
-
getAwsCredentialsSid
public final String getAwsCredentialsSid()
Returns The SID of the Stored Credential resource CRxx.- Returns:
- SID of the Stored Credential resource CRxx
-
getAwsS3Url
public final URI getAwsS3Url()
Returns The URL of the S3 bucket where the recordings should be stored. We only support DNS-compliant URLs like http://<my-bucket>.s3-<aws-region>.amazonaws.com/recordings, where recordings is the path where you want recordings to be stored..- Returns:
- URL of the S3 bucket where the recordings should be stored. We only support DNS-compliant URLs like http://<my-bucket>.s3-<aws-region>.amazonaws.com/recordings, where recordings is the path where you want recordings to be stored.
-
getAwsStorageEnabled
public final Boolean getAwsStorageEnabled()
Returns The true|false When set to true, all Recordings will be written to the AwsS3Url specified above. When set to false, all Recordings will be stored in Twilio's cloud..- Returns:
- true|false When set to true, all Recordings will be written to the AwsS3Url specified above. When set to false, all Recordings will be stored in Twilio's cloud.
-
getEncryptionKeySid
public final String getEncryptionKeySid()
Returns The SID of the Public Key resource CRxx.- Returns:
- SID of the Public Key resource CRxx
-
getEncryptionEnabled
public final Boolean getEncryptionEnabled()
Returns The true|false When set to true, all Recordings will be stored encrypted..- Returns:
- true|false When set to true, all Recordings will be stored encrypted.
-
getUrl
public final URI getUrl()
Returns The The url.- Returns:
- The url
-
-