Class 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 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 String
        objectMapper - 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 InputStream
        objectMapper - 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object