Partager via


AzureBlobContentSource Class

  • java.lang.Object
    • com.azure.ai.documentintelligence.models.AzureBlobContentSource

Implements

public final class AzureBlobContentSource
implements JsonSerializable<AzureBlobContentSource>

Azure Blob Storage content.

Constructor Summary

Constructor Description
AzureBlobContentSource(String containerUrl)

Creates an instance of AzureBlobContentSource class.

Method Summary

Modifier and Type Method and Description
static AzureBlobContentSource fromJson(JsonReader jsonReader)

Reads an instance of AzureBlobContentSource from the JsonReader.

String getContainerUrl()

Get the containerUrl property: Azure Blob Storage container URL.

String getPrefix()

Get the prefix property: Blob name prefix.

AzureBlobContentSource setPrefix(String prefix)

Set the prefix property: Blob name prefix.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AzureBlobContentSource

public AzureBlobContentSource(String containerUrl)

Creates an instance of AzureBlobContentSource class.

Parameters:

containerUrl - the containerUrl value to set.

Method Details

fromJson

public static AzureBlobContentSource fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

getContainerUrl

public String getContainerUrl()

Get the containerUrl property: Azure Blob Storage container URL.

Returns:

the containerUrl value.

getPrefix

public String getPrefix()

Get the prefix property: Blob name prefix.

Returns:

the prefix value.

setPrefix

public AzureBlobContentSource setPrefix(String prefix)

Set the prefix property: Blob name prefix.

Parameters:

prefix - the prefix value to set.

Returns:

the AzureBlobContentSource object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to