KnowledgeSourceSynchronizationError Class
- java.
lang. Object - com.
azure. search. documents. knowledgebases. models. KnowledgeSourceSynchronizationError
- com.
Implements
public final class KnowledgeSourceSynchronizationError
implements JsonSerializable<KnowledgeSourceSynchronizationError>
Represents a document-level indexing error encountered during a knowledge source synchronization run.
Constructor Summary
| Constructor | Description |
|---|---|
| KnowledgeSourceSynchronizationError(String errorMessage) |
Creates an instance of Knowledge |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Knowledge |
fromJson(JsonReader jsonReader)
Reads an instance of Knowledge |
| String |
getDetails()
Get the details property: Additional contextual information about the failure. |
| String |
getDocId()
Get the doc |
| String |
getDocumentationLink()
Get the documentation |
| String |
getErrorMessage()
Get the error |
| String |
getName()
Get the name property: Name of the ingestion or processing component reporting the error. |
| Integer |
getStatusCode()
Get the status |
|
Knowledge |
setDetails(String details)
Set the details property: Additional contextual information about the failure. |
|
Knowledge |
setDocId(String docId)
Set the doc |
|
Knowledge |
setDocumentationLink(String documentationLink)
Set the documentation |
|
Knowledge |
setName(String name)
Set the name property: Name of the ingestion or processing component reporting the error. |
|
Knowledge |
setStatusCode(Integer statusCode)
Set the status |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
KnowledgeSourceSynchronizationError
public KnowledgeSourceSynchronizationError(String errorMessage)
Creates an instance of KnowledgeSourceSynchronizationError class.
Parameters:
Method Details
fromJson
public static KnowledgeSourceSynchronizationError fromJson(JsonReader jsonReader)
Reads an instance of KnowledgeSourceSynchronizationError from the JsonReader.
Parameters:
Returns:
Throws:
getDetails
public String getDetails()
Get the details property: Additional contextual information about the failure.
Returns:
getDocId
public String getDocId()
Get the docId property: The unique identifier for the failed document or item within the synchronization run.
Returns:
getDocumentationLink
public String getDocumentationLink()
Get the documentationLink property: A link to relevant troubleshooting documentation.
Returns:
getErrorMessage
public String getErrorMessage()
Get the errorMessage property: Human-readable, customer-visible error message.
Returns:
getName
public String getName()
Get the name property: Name of the ingestion or processing component reporting the error.
Returns:
getStatusCode
public Integer getStatusCode()
Get the statusCode property: HTTP-like status code representing the failure category (e.g., 400).
Returns:
setDetails
public KnowledgeSourceSynchronizationError setDetails(String details)
Set the details property: Additional contextual information about the failure.
Parameters:
Returns:
setDocId
public KnowledgeSourceSynchronizationError setDocId(String docId)
Set the docId property: The unique identifier for the failed document or item within the synchronization run.
Parameters:
Returns:
setDocumentationLink
public KnowledgeSourceSynchronizationError setDocumentationLink(String documentationLink)
Set the documentationLink property: A link to relevant troubleshooting documentation.
Parameters:
Returns:
setName
public KnowledgeSourceSynchronizationError setName(String name)
Set the name property: Name of the ingestion or processing component reporting the error.
Parameters:
Returns:
setStatusCode
public KnowledgeSourceSynchronizationError setStatusCode(Integer statusCode)
Set the statusCode property: HTTP-like status code representing the failure category (e.g., 400).
Parameters:
Returns: