Class KnowledgeBaseIndexedOneLakeActivityArguments

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

public final class KnowledgeBaseIndexedOneLakeActivityArguments extends Object implements com.azure.json.JsonSerializable<KnowledgeBaseIndexedOneLakeActivityArguments>
Represents the arguments the indexed OneLake retrieval activity was run with.
  • Constructor Details

    • KnowledgeBaseIndexedOneLakeActivityArguments

      public KnowledgeBaseIndexedOneLakeActivityArguments()
      Creates an instance of KnowledgeBaseIndexedOneLakeActivityArguments class.
  • Method Details

    • getSearch

      public String getSearch()
      Get the search property: The search string used to query indexed OneLake contents.
      Returns:
      the search value.
    • setSearch

      Set the search property: The search string used to query indexed OneLake contents.
      Parameters:
      search - the search value to set.
      Returns:
      the KnowledgeBaseIndexedOneLakeActivityArguments object itself.
    • toJson

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

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