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>
The AzureCommunicationRecordingStorage model.
-
Constructor Summary
ConstructorsConstructorDescriptionAzureBlobContainerRecordingStorage(String recordingDestinationContainerUrl) Creates an instance of AzureCommunicationRecordingStorage class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureBlobContainerRecordingStorage from the JsonReader.Get the recordingDestinationContainerUrl property: Uri of a container or a location within a container.Get the recordingStorageType property: Defines the kind of external storage.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AzureBlobContainerRecordingStorage
Creates an instance of AzureCommunicationRecordingStorage class.- Parameters:
recordingDestinationContainerUrl- the recordingDestinationContainerUrl value to set.
-
-
Method Details
-
getRecordingDestinationContainerUrl
Get the recordingDestinationContainerUrl property: Uri of a container or a location within a container.- Returns:
- the recordingDestinationContainerUrl value.
-
getRecordingStorageType
Get the recordingStorageType property: Defines the kind of external storage.- Specified by:
getRecordingStorageTypein classRecordingStorage- Returns:
- the recordingStorageType value.
-
toJson
- 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.
-