Class SearchIndexerSkillset
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerSkillset
A list of skills.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchIndexerSkillset
(String name) Creates an instance of SearchIndexerSkillset class.SearchIndexerSkillset
(String name, List<SearchIndexerSkill> skills) Creates an instance of SearchIndexerSkillset class. -
Method Summary
Modifier and TypeMethodDescriptionGet the cognitiveServicesAccount property: Details about cognitive services to be used when running skills.Get the description property: The description of the skillset.Get the encryptionKey property: A description of an encryption key that you create in Azure Key Vault.getETag()
Get the eTag property: The ETag of the skillset.Get the knowledgeStore property: Definition of additional projections to azure blob, table, or files, of enriched data.getName()
Get the name property: The name of the skillset.Get the skills property: A list of skills in the skillset.setCognitiveServicesAccount
(CognitiveServicesAccount cognitiveServicesAccount) Set the cognitiveServicesAccount property: Details about cognitive services to be used when running skills.setDescription
(String description) Set the description property: The description of the skillset.setEncryptionKey
(SearchResourceEncryptionKey encryptionKey) Set the encryptionKey property: A description of an encryption key that you create in Azure Key Vault.Set the eTag property: The ETag of the skillset.setKnowledgeStore
(SearchIndexerKnowledgeStore knowledgeStore) Set the knowledgeStore property: Definition of additional projections to azure blob, table, or files, of enriched data.setSkills
(SearchIndexerSkill... skills) Sets the skills property: A list of skills in the skillset.setSkills
(List<SearchIndexerSkill> skills) Sets the skills property: A list of skills in the skillset.
-
Constructor Details
-
SearchIndexerSkillset
Creates an instance of SearchIndexerSkillset class.- Parameters:
name
- the name value to set.skills
- the skills value to set.
-
SearchIndexerSkillset
Creates an instance of SearchIndexerSkillset class.- Parameters:
name
- the name value to set.
-
-
Method Details
-
getName
Get the name property: The name of the skillset.- Returns:
- the name value.
-
getDescription
Get the description property: The description of the skillset.- Returns:
- the description value.
-
setDescription
Set the description property: The description of the skillset.- Parameters:
description
- the description value to set.- Returns:
- the SearchIndexerSkillset object itself.
-
getSkills
Get the skills property: A list of skills in the skillset.- Returns:
- the skills value.
-
getCognitiveServicesAccount
Get the cognitiveServicesAccount property: Details about cognitive services to be used when running skills.- Returns:
- the cognitiveServicesAccount value.
-
setCognitiveServicesAccount
public SearchIndexerSkillset setCognitiveServicesAccount(CognitiveServicesAccount cognitiveServicesAccount) Set the cognitiveServicesAccount property: Details about cognitive services to be used when running skills.- Parameters:
cognitiveServicesAccount
- the cognitiveServicesAccount value to set.- Returns:
- the SearchIndexerSkillset object itself.
-
getKnowledgeStore
Get the knowledgeStore property: Definition of additional projections to azure blob, table, or files, of enriched data.- Returns:
- the knowledgeStore value.
-
setKnowledgeStore
Set the knowledgeStore property: Definition of additional projections to azure blob, table, or files, of enriched data.- Parameters:
knowledgeStore
- the knowledgeStore value to set.- Returns:
- the SearchIndexerSkillset object itself.
-
getETag
Get the eTag property: The ETag of the skillset.- Returns:
- the eTag value.
-
setETag
Set the eTag property: The ETag of the skillset.- Parameters:
eTag
- the eTag value to set.- Returns:
- the SearchIndexerSkillset object itself.
-
getEncryptionKey
Get the encryptionKey property: A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your skillset definition when you want full assurance that no one, not even Microsoft, can decrypt your skillset definition in Azure Cognitive Search. Once you have encrypted your skillset definition, it will always remain encrypted. Azure Cognitive Search will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your skillset definition will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.- Returns:
- the encryptionKey value.
-
setEncryptionKey
Set the encryptionKey property: A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your skillset definition when you want full assurance that no one, not even Microsoft, can decrypt your skillset definition in Azure Cognitive Search. Once you have encrypted your skillset definition, it will always remain encrypted. Azure Cognitive Search will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your skillset definition will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.- Parameters:
encryptionKey
- the encryptionKey value to set.- Returns:
- the SearchIndexerSkillset object itself.
-
setSkills
Sets the skills property: A list of skills in the skillset.- Parameters:
skills
- the skills value to set.- Returns:
- the SearchIndexerSkillset object itself.
-
setSkills
Sets the skills property: A list of skills in the skillset.- Parameters:
skills
- the skills value to set.- Returns:
- the SearchIndexerSkillset object itself.
-