Class CognitiveServicesAccountKey
java.lang.Object
com.azure.search.documents.indexes.models.CognitiveServicesAccount
com.azure.search.documents.indexes.models.CognitiveServicesAccountKey
A cognitive service resource provisioned with a key that is attached to a skillset.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CognitiveServicesAccountKey class. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Get the key property: The key used to provision the cognitive service resource attached to a skillset.setDescription
(String description) Set the description property: Description of the cognitive service resource attached to a skillset.Set the key property: The key used to provision the cognitive service resource attached to a skillset.Methods inherited from class com.azure.search.documents.indexes.models.CognitiveServicesAccount
getDescription
-
Constructor Details
-
CognitiveServicesAccountKey
Creates an instance of CognitiveServicesAccountKey class.- Parameters:
key
- the key value to set.
-
-
Method Details
-
getKey
Get the key property: The key used to provision the cognitive service resource attached to a skillset.- Returns:
- the key value.
-
setDescription
Set the description property: Description of the cognitive service resource attached to a skillset.- Overrides:
setDescription
in classCognitiveServicesAccount
- Parameters:
description
- the description value to set.- Returns:
- the CognitiveServicesAccount object itself.
-
setKey
Set the key property: The key used to provision the cognitive service resource attached to a skillset.- Parameters:
key
- the key value to set.- Returns:
- the CognitiveServicesAccountKey object itself.
-