LabeledDataKnowledgeSource Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. KnowledgeSource - com.
azure. ai. contentunderstanding. models. LabeledDataKnowledgeSource
- com.
- com.
public final class LabeledDataKnowledgeSource
extends KnowledgeSource
Labeled data knowledge source.
Constructor Summary
| Constructor | Description |
|---|---|
| LabeledDataKnowledgeSource() |
Creates an instance of Labeled |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Labeled |
fromJson(JsonReader jsonReader)
Reads an instance of Labeled |
| String |
getContainerUrl()
Get the container |
| String |
getFileListPath()
Get the file |
|
Knowledge |
getKind()
Get the kind property: The kind of knowledge source. |
| String |
getPrefix()
Get the prefix property: An optional prefix to filter blobs within the container. |
|
Labeled |
setContainerUrl(String containerUrl)
Set the container |
|
Labeled |
setFileListPath(String fileListPath)
Set the file |
|
Labeled |
setPrefix(String prefix)
Set the prefix property: An optional prefix to filter blobs within the container. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from KnowledgeSource
Methods inherited from java.lang.Object
Constructor Details
LabeledDataKnowledgeSource
public LabeledDataKnowledgeSource()
Creates an instance of LabeledDataKnowledgeSource class.
Method Details
fromJson
public static LabeledDataKnowledgeSource fromJson(JsonReader jsonReader)
Reads an instance of LabeledDataKnowledgeSource from the JsonReader.
Parameters:
Returns:
Throws:
getContainerUrl
public String getContainerUrl()
Get the containerUrl property: The URL of the blob container containing labeled data.
Returns:
getFileListPath
public String getFileListPath()
Get the fileListPath property: An optional path to a file listing specific blobs to include.
Returns:
getKind
public KnowledgeSourceKind getKind()
Get the kind property: The kind of knowledge source.
Overrides:
LabeledDataKnowledgeSource.getKind()Returns:
getPrefix
public String getPrefix()
Get the prefix property: An optional prefix to filter blobs within the container.
Returns:
setContainerUrl
public LabeledDataKnowledgeSource setContainerUrl(String containerUrl)
Set the containerUrl property: The URL of the blob container containing labeled data.
Required when create the resource.
Parameters:
Returns:
setFileListPath
public LabeledDataKnowledgeSource setFileListPath(String fileListPath)
Set the fileListPath property: An optional path to a file listing specific blobs to include.
Required when create the resource.
Parameters:
Returns:
setPrefix
public LabeledDataKnowledgeSource setPrefix(String prefix)
Set the prefix property: An optional prefix to filter blobs within the container.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LabeledDataKnowledgeSource.toJson(JsonWriter jsonWriter)Parameters:
Throws: