Class OnYourDataApiKeyAuthenticationOptions

java.lang.Object
com.azure.ai.openai.models.OnYourDataAuthenticationOptions
com.azure.ai.openai.models.OnYourDataApiKeyAuthenticationOptions

public final class OnYourDataApiKeyAuthenticationOptions extends OnYourDataAuthenticationOptions
The authentication options for Azure OpenAI On Your Data when using an API key.
  • Constructor Details

    • OnYourDataApiKeyAuthenticationOptions

      public OnYourDataApiKeyAuthenticationOptions(String key)
      Creates an instance of OnYourDataApiKeyAuthenticationOptions class.
      Parameters:
      key - the key value to set.
  • Method Details

    • getKey

      public String getKey()
      Get the key property: The API key to use for authentication.
      Returns:
      the key value.