IndexedSharePointKnowledgeSourceParameters Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. IndexedSharePointKnowledgeSourceParameters
- com.
Implements
public final class IndexedSharePointKnowledgeSourceParameters
implements JsonSerializable<IndexedSharePointKnowledgeSourceParameters>
Parameters for SharePoint knowledge source.
Constructor Summary
| Constructor | Description |
|---|---|
| IndexedSharePointKnowledgeSourceParameters(String connectionString, IndexedSharePointContainerName containerName) |
Creates an instance of Indexed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Indexed |
fromJson(JsonReader jsonReader)
Reads an instance of Indexed |
| String |
getConnectionString()
Get the connection |
|
Indexed |
getContainerName()
Get the container |
|
Created |
getCreatedResources()
Get the created |
|
Knowledge |
getIngestionParameters()
Get the ingestion |
| String |
getQuery()
Get the query property: Optional query to filter Share |
|
Indexed |
setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)
Set the ingestion |
|
Indexed |
setQuery(String query)
Set the query property: Optional query to filter Share |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
IndexedSharePointKnowledgeSourceParameters
public IndexedSharePointKnowledgeSourceParameters(String connectionString, IndexedSharePointContainerName containerName)
Creates an instance of IndexedSharePointKnowledgeSourceParameters class.
Parameters:
Method Details
fromJson
public static IndexedSharePointKnowledgeSourceParameters fromJson(JsonReader jsonReader)
Reads an instance of IndexedSharePointKnowledgeSourceParameters from the JsonReader.
Parameters:
Returns:
Throws:
getConnectionString
public String getConnectionString()
Get the connectionString property: SharePoint connection string with format: SharePointOnlineEndpoint=[SharePoint site url];ApplicationId=[Azure AD App ID];ApplicationSecret=[Azure AD App client secret];TenantId=[SharePoint site tenant id].
Returns:
getContainerName
public IndexedSharePointContainerName getContainerName()
Get the containerName property: Specifies which SharePoint libraries to access.
Returns:
getCreatedResources
public CreatedResources getCreatedResources()
Get the createdResources property: Resources created by the knowledge source.
Returns:
getIngestionParameters
public KnowledgeSourceIngestionParameters getIngestionParameters()
Get the ingestionParameters property: Consolidates all general ingestion settings.
Returns:
getQuery
public String getQuery()
Get the query property: Optional query to filter SharePoint content.
Returns:
setIngestionParameters
public IndexedSharePointKnowledgeSourceParameters setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)
Set the ingestionParameters property: Consolidates all general ingestion settings.
Parameters:
Returns:
setQuery
public IndexedSharePointKnowledgeSourceParameters setQuery(String query)
Set the query property: Optional query to filter SharePoint content.
Parameters:
Returns: