Class AzureBlobContentSource
java.lang.Object
com.azure.ai.documentintelligence.models.AzureBlobContentSource
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AzureBlobContentSource>
public final class AzureBlobContentSource
extends Object
implements com.azure.json.JsonSerializable<AzureBlobContentSource>
Azure Blob Storage content.
-
Constructor Summary
ConstructorsConstructorDescriptionAzureBlobContentSource(String containerUrl) Creates an instance of AzureBlobContentSource class. -
Method Summary
Modifier and TypeMethodDescriptionstatic AzureBlobContentSourcefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureBlobContentSource from the JsonReader.Get the containerUrl property: Azure Blob Storage container URL.Get the prefix property: Blob name prefix.Set the prefix property: Blob name prefix.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
-
AzureBlobContentSource
Creates an instance of AzureBlobContentSource class.- Parameters:
containerUrl- the containerUrl value to set.
-
-
Method Details
-
getContainerUrl
Get the containerUrl property: Azure Blob Storage container URL.- Returns:
- the containerUrl value.
-
getPrefix
Get the prefix property: Blob name prefix.- Returns:
- the prefix value.
-
setPrefix
Set the prefix property: Blob name prefix.- Parameters:
prefix- the prefix value to set.- Returns:
- the AzureBlobContentSource object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AzureBlobContentSource>- Throws:
IOException
-
fromJson
public static AzureBlobContentSource fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AzureBlobContentSource from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AzureBlobContentSource if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AzureBlobContentSource.
-