AzureBlobKnowledgeSourceParameters Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. AzureBlobKnowledgeSourceParameters
- com.
Implements
public final class AzureBlobKnowledgeSourceParameters
implements JsonSerializable<AzureBlobKnowledgeSourceParameters>
Parameters for Azure Blob Storage knowledge source.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureBlobKnowledgeSourceParameters(String connectionString, String containerName) |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
| String |
getConnectionString()
Get the connection |
| String |
getContainerName()
Get the container |
|
Created |
getCreatedResources()
Get the created |
| String |
getFolderPath()
Get the folder |
|
Knowledge |
getIngestionParameters()
Get the ingestion |
| Boolean |
isAdlsGen2()
Get the adls |
|
Azure |
setAdlsGen2(Boolean adlsGen2)
Set the adls |
|
Azure |
setFolderPath(String folderPath)
Set the folder |
|
Azure |
setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)
Set the ingestion |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AzureBlobKnowledgeSourceParameters
public AzureBlobKnowledgeSourceParameters(String connectionString, String containerName)
Creates an instance of AzureBlobKnowledgeSourceParameters class.
Parameters:
Method Details
fromJson
public static AzureBlobKnowledgeSourceParameters fromJson(JsonReader jsonReader)
Reads an instance of AzureBlobKnowledgeSourceParameters from the JsonReader.
Parameters:
Returns:
Throws:
getConnectionString
public String getConnectionString()
Get the connectionString property: Key-based connection string or the ResourceId format if using a managed identity.
Returns:
getContainerName
public String getContainerName()
Get the containerName property: The name of the blob storage container.
Returns:
getCreatedResources
public CreatedResources getCreatedResources()
Get the createdResources property: Resources created by the knowledge source.
Returns:
getFolderPath
public String getFolderPath()
Get the folderPath property: Optional folder path within the container.
Returns:
getIngestionParameters
public KnowledgeSourceIngestionParameters getIngestionParameters()
Get the ingestionParameters property: Consolidates all general ingestion settings.
Returns:
isAdlsGen2
public Boolean isAdlsGen2()
Get the adlsGen2 property: Set to true if connecting to an ADLS Gen2 storage account. Default is false.
Returns:
setAdlsGen2
public AzureBlobKnowledgeSourceParameters setAdlsGen2(Boolean adlsGen2)
Set the adlsGen2 property: Set to true if connecting to an ADLS Gen2 storage account. Default is false.
Parameters:
Returns:
setFolderPath
public AzureBlobKnowledgeSourceParameters setFolderPath(String folderPath)
Set the folderPath property: Optional folder path within the container.
Parameters:
Returns:
setIngestionParameters
public AzureBlobKnowledgeSourceParameters setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)
Set the ingestionParameters property: Consolidates all general ingestion settings.
Parameters:
Returns: