Class KnowledgeBaseAzureBlobActivityArguments

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

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

    • KnowledgeBaseAzureBlobActivityArguments

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

    • getSearch

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

      Set the search property: The search string used to query blob contents.
      Parameters:
      search - the search value to set.
      Returns:
      the KnowledgeBaseAzureBlobActivityArguments 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<KnowledgeBaseAzureBlobActivityArguments>
      Throws:
      IOException
    • fromJson

      public static KnowledgeBaseAzureBlobActivityArguments fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of KnowledgeBaseAzureBlobActivityArguments from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of KnowledgeBaseAzureBlobActivityArguments 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 KnowledgeBaseAzureBlobActivityArguments.