Class KnowledgeBaseSearchIndexActivityArguments
java.lang.Object
com.azure.search.documents.knowledgebases.models.KnowledgeBaseSearchIndexActivityArguments
- All Implemented Interfaces:
com.azure.json.JsonSerializable<KnowledgeBaseSearchIndexActivityArguments>
public final class KnowledgeBaseSearchIndexActivityArguments
extends Object
implements com.azure.json.JsonSerializable<KnowledgeBaseSearchIndexActivityArguments>
Represents the arguments the search index retrieval activity was run with.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of KnowledgeBaseSearchIndexActivityArguments class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of KnowledgeBaseSearchIndexActivityArguments from the JsonReader.Get the filter property: The filter string.Get the search property: The search string used to query the search index.Get the searchFields property: What fields were searched against.Get the semanticConfigurationName property: What semantic configuration was used from the search index.Get the sourceDataFields property: What fields were selected for search.Set the filter property: The filter string.Set the search property: The search string used to query the search index.setSearchFields(List<SearchIndexFieldReference> searchFields) Set the searchFields property: What fields were searched against.setSemanticConfigurationName(String semanticConfigurationName) Set the semanticConfigurationName property: What semantic configuration was used from the search index.setSourceDataFields(List<SearchIndexFieldReference> sourceDataFields) Set the sourceDataFields property: What fields were selected for search.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
KnowledgeBaseSearchIndexActivityArguments
public KnowledgeBaseSearchIndexActivityArguments()Creates an instance of KnowledgeBaseSearchIndexActivityArguments class.
-
-
Method Details
-
getSearch
Get the search property: The search string used to query the search index.- Returns:
- the search value.
-
setSearch
Set the search property: The search string used to query the search index.- Parameters:
search- the search value to set.- Returns:
- the KnowledgeBaseSearchIndexActivityArguments object itself.
-
getFilter
-
setFilter
Set the filter property: The filter string.- Parameters:
filter- the filter value to set.- Returns:
- the KnowledgeBaseSearchIndexActivityArguments object itself.
-
getSourceDataFields
Get the sourceDataFields property: What fields were selected for search.- Returns:
- the sourceDataFields value.
-
setSourceDataFields
public KnowledgeBaseSearchIndexActivityArguments setSourceDataFields(List<SearchIndexFieldReference> sourceDataFields) Set the sourceDataFields property: What fields were selected for search.- Parameters:
sourceDataFields- the sourceDataFields value to set.- Returns:
- the KnowledgeBaseSearchIndexActivityArguments object itself.
-
getSearchFields
Get the searchFields property: What fields were searched against.- Returns:
- the searchFields value.
-
setSearchFields
public KnowledgeBaseSearchIndexActivityArguments setSearchFields(List<SearchIndexFieldReference> searchFields) Set the searchFields property: What fields were searched against.- Parameters:
searchFields- the searchFields value to set.- Returns:
- the KnowledgeBaseSearchIndexActivityArguments object itself.
-
getSemanticConfigurationName
Get the semanticConfigurationName property: What semantic configuration was used from the search index.- Returns:
- the semanticConfigurationName value.
-
setSemanticConfigurationName
public KnowledgeBaseSearchIndexActivityArguments setSemanticConfigurationName(String semanticConfigurationName) Set the semanticConfigurationName property: What semantic configuration was used from the search index.- Parameters:
semanticConfigurationName- the semanticConfigurationName value to set.- Returns:
- the KnowledgeBaseSearchIndexActivityArguments object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<KnowledgeBaseSearchIndexActivityArguments>- Throws:
IOException
-
fromJson
public static KnowledgeBaseSearchIndexActivityArguments fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of KnowledgeBaseSearchIndexActivityArguments from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of KnowledgeBaseSearchIndexActivityArguments 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 KnowledgeBaseSearchIndexActivityArguments.
-