Class CognitiveServicesAccountKey


  • public final class CognitiveServicesAccountKey
    extends CognitiveServicesAccount
    A cognitive service resource provisioned with a key that is attached to a skillset.
    • 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.