Class CognitiveServicesAccountKey
- java.lang.Object
-
- com.azure.search.documents.indexes.models.CognitiveServicesAccount
-
- com.azure.search.documents.indexes.models.CognitiveServicesAccountKey
-
public final class CognitiveServicesAccountKey extends CognitiveServicesAccount
A cognitive service resource provisioned with a key that is attached to a skillset.
-
-
Constructor Summary
Constructors Constructor Description CognitiveServicesAccountKey(String key)
Creates an instance of CognitiveServicesAccountKey class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
Get the key property: The key used to provision the cognitive service resource attached to a skillset.CognitiveServicesAccountKey
setKey(String key)
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, setDescription
-
-
-
-
Constructor Detail
-
CognitiveServicesAccountKey
public CognitiveServicesAccountKey(String key)
Creates an instance of CognitiveServicesAccountKey class.- Parameters:
key
- the key value to set.
-
-
Method Detail
-
getKey
public String getKey()
Get the key property: The key used to provision the cognitive service resource attached to a skillset.- Returns:
- the key value.
-
setKey
public CognitiveServicesAccountKey setKey(String key)
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.
-
-