Class OnYourDataKeyAndKeyIdAuthenticationOptions

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

public final class OnYourDataKeyAndKeyIdAuthenticationOptions extends OnYourDataAuthenticationOptions
The authentication options for Azure OpenAI On Your Data when using an Elasticsearch key and key ID pair.
  • Constructor Details

    • OnYourDataKeyAndKeyIdAuthenticationOptions

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

    • getKey

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

      public String getKeyId()
      Get the keyId property: The key ID to use for authentication.
      Returns:
      the keyId value.