Class IndexedOneLakeKnowledgeSourceParameters

java.lang.Object
com.azure.search.documents.indexes.models.IndexedOneLakeKnowledgeSourceParameters
All Implemented Interfaces:
com.azure.json.JsonSerializable<IndexedOneLakeKnowledgeSourceParameters>

public final class IndexedOneLakeKnowledgeSourceParameters extends Object implements com.azure.json.JsonSerializable<IndexedOneLakeKnowledgeSourceParameters>
Parameters for OneLake knowledge source.
  • Constructor Details

    • IndexedOneLakeKnowledgeSourceParameters

      public IndexedOneLakeKnowledgeSourceParameters(String fabricWorkspaceId, String lakehouseId)
      Creates an instance of IndexedOneLakeKnowledgeSourceParameters class.
      Parameters:
      fabricWorkspaceId - the fabricWorkspaceId value to set.
      lakehouseId - the lakehouseId value to set.
  • Method Details

    • getFabricWorkspaceId

      public String getFabricWorkspaceId()
      Get the fabricWorkspaceId property: OneLake workspace ID.
      Returns:
      the fabricWorkspaceId value.
    • getLakehouseId

      public String getLakehouseId()
      Get the lakehouseId property: Specifies which OneLake lakehouse to access.
      Returns:
      the lakehouseId value.
    • getTargetPath

      public String getTargetPath()
      Get the targetPath property: Optional OneLakehouse folder or shortcut to filter OneLake content.
      Returns:
      the targetPath value.
    • setTargetPath

      public IndexedOneLakeKnowledgeSourceParameters setTargetPath(String targetPath)
      Set the targetPath property: Optional OneLakehouse folder or shortcut to filter OneLake content.
      Parameters:
      targetPath - the targetPath value to set.
      Returns:
      the IndexedOneLakeKnowledgeSourceParameters object itself.
    • getIngestionParameters

      public KnowledgeSourceIngestionParameters getIngestionParameters()
      Get the ingestionParameters property: Consolidates all general ingestion settings.
      Returns:
      the ingestionParameters value.
    • setIngestionParameters

      public IndexedOneLakeKnowledgeSourceParameters setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)
      Set the ingestionParameters property: Consolidates all general ingestion settings.
      Parameters:
      ingestionParameters - the ingestionParameters value to set.
      Returns:
      the IndexedOneLakeKnowledgeSourceParameters object itself.
    • getCreatedResources

      public Map<String,String> getCreatedResources()
      Get the createdResources property: Resources created by the knowledge source.
      Returns:
      the createdResources value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<IndexedOneLakeKnowledgeSourceParameters>
      Throws:
      IOException
    • fromJson

      public static IndexedOneLakeKnowledgeSourceParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IndexedOneLakeKnowledgeSourceParameters from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IndexedOneLakeKnowledgeSourceParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the IndexedOneLakeKnowledgeSourceParameters.