Class AzureBlobContainerRecordingStorage

java.lang.Object
com.azure.communication.callautomation.models.RecordingStorage
com.azure.communication.callautomation.models.AzureBlobContainerRecordingStorage
All Implemented Interfaces:
com.azure.json.JsonSerializable<RecordingStorage>

public class AzureBlobContainerRecordingStorage extends RecordingStorage
The AzureCommunicationRecordingStorage model.
  • Constructor Details

    • AzureBlobContainerRecordingStorage

      public AzureBlobContainerRecordingStorage(String recordingDestinationContainerUrl)
      Creates an instance of AzureCommunicationRecordingStorage class.
      Parameters:
      recordingDestinationContainerUrl - the recordingDestinationContainerUrl value to set.
  • Method Details

    • getRecordingDestinationContainerUrl

      public String getRecordingDestinationContainerUrl()
      Get the recordingDestinationContainerUrl property: Uri of a container or a location within a container.
      Returns:
      the recordingDestinationContainerUrl value.
    • getRecordingStorageType

      public RecordingStorageType getRecordingStorageType()
      Get the recordingStorageType property: Defines the kind of external storage.
      Specified by:
      getRecordingStorageType in class RecordingStorage
      Returns:
      the recordingStorageType value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Throws:
      IOException
    • fromJson

      public static AzureBlobContainerRecordingStorage fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AzureBlobContainerRecordingStorage from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AzureBlobContainerRecordingStorage if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the AzureBlobContainerRecordingStorage.