SearchIndexerSkillset Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchIndexerSkillset
- com.
Implements
public final class SearchIndexerSkillset
implements JsonSerializable<SearchIndexerSkillset>
A list of skills.
Constructor Summary
Constructor | Description |
---|---|
SearchIndexerSkillset(String name) |
Creates an instance of Search |
SearchIndexerSkillset(String name, List<SearchIndexerSkill> skills) |
/** Creates an instance of Search |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Search |
fromJson(JsonReader jsonReader)
Reads an instance of Search |
Cognitive |
getCognitiveServicesAccount()
Get the cognitive |
String |
getDescription()
Get the description property: The description of the skillset. |
String |
getETag()
Get the e |
Search |
getEncryptionKey()
Get the encryption |
Search |
getIndexProjection()
Get the index |
Search |
getKnowledgeStore()
Get the knowledge |
String |
getName()
Get the name property: The name of the skillset. |
List<Search |
getSkills()
Get the skills property: A list of skills in the skillset. |
Search |
setCognitiveServicesAccount(CognitiveServicesAccount cognitiveServicesAccount)
Set the cognitive |
Search |
setDescription(String description)
Set the description property: The description of the skillset. |
Search |
setETag(String eTag)
Set the e |
Search |
setEncryptionKey(SearchResourceEncryptionKey encryptionKey)
Set the encryption |
Search |
setIndexProjection(SearchIndexerIndexProjection indexProjection)
Set the index |
Search |
setKnowledgeStore(SearchIndexerKnowledgeStore knowledgeStore)
Set the knowledge |
Search |
setSkills(SearchIndexerSkill[] skills)
Set the skills property: A list of skills in the skillset. |
Search |
setSkills(List<SearchIndexerSkill> skills)
Set the skills property: A list of skills in the skillset. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SearchIndexerSkillset
public SearchIndexerSkillset(String name)
Creates an instance of SearchIndexerSkillset class.
Parameters:
SearchIndexerSkillset
public SearchIndexerSkillset(String name, List
/** Creates an instance of SearchIndexerSkillset class.
Parameters:
Method Details
fromJson
public static SearchIndexerSkillset fromJson(JsonReader jsonReader)
Reads an instance of SearchIndexerSkillset from the JsonReader.
Parameters:
Returns:
Throws:
getCognitiveServicesAccount
public CognitiveServicesAccount getCognitiveServicesAccount()
Get the cognitiveServicesAccount property: Details about the Azure AI service to be used when running skills.
Returns:
getDescription
public String getDescription()
Get the description property: The description of the skillset.
Returns:
getETag
public String getETag()
Get the eTag property: The ETag of the skillset.
Returns:
getEncryptionKey
public SearchResourceEncryptionKey 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. Once you have encrypted your skillset definition, it will always remain encrypted. The search service 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:
getIndexProjection
public SearchIndexerIndexProjection getIndexProjection()
Get the indexProjection property: Definition of additional projections to secondary search index(es).
Returns:
getKnowledgeStore
public SearchIndexerKnowledgeStore getKnowledgeStore()
Get the knowledgeStore property: Definition of additional projections to Azure blob, table, or files, of enriched data.
Returns:
getName
public String getName()
Get the name property: The name of the skillset.
Returns:
getSkills
public List
Get the skills property: A list of skills in the skillset.
Returns:
setCognitiveServicesAccount
public SearchIndexerSkillset setCognitiveServicesAccount(CognitiveServicesAccount cognitiveServicesAccount)
Set the cognitiveServicesAccount property: Details about the Azure AI service to be used when running skills.
Parameters:
Returns:
setDescription
public SearchIndexerSkillset setDescription(String description)
Set the description property: The description of the skillset.
Parameters:
Returns:
setETag
public SearchIndexerSkillset setETag(String eTag)
Set the eTag property: The ETag of the skillset.
Parameters:
Returns:
setEncryptionKey
public SearchIndexerSkillset setEncryptionKey(SearchResourceEncryptionKey encryptionKey)
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. Once you have encrypted your skillset definition, it will always remain encrypted. The search service 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:
Returns:
setIndexProjection
public SearchIndexerSkillset setIndexProjection(SearchIndexerIndexProjection indexProjection)
Set the indexProjection property: Definition of additional projections to secondary search index(es).
Parameters:
Returns:
setKnowledgeStore
public SearchIndexerSkillset setKnowledgeStore(SearchIndexerKnowledgeStore knowledgeStore)
Set the knowledgeStore property: Definition of additional projections to Azure blob, table, or files, of enriched data.
Parameters:
Returns:
setSkills
public SearchIndexerSkillset setSkills(SearchIndexerSkill[] skills)
Set the skills property: A list of skills in the skillset.
Parameters:
Returns:
setSkills
public SearchIndexerSkillset setSkills(List
Set the skills property: A list of skills in the skillset.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java