Class ApiKeyAiModelAuthDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200407")
    public final class ApiKeyAiModelAuthDetails
    extends AiModelAuthDetails
    API key authentication details for an AI Model connection.
    Note: Objects should always be created or deserialized using the ApiKeyAiModelAuthDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ApiKeyAiModelAuthDetails.Builder, which maintain a set of all explicitly set fields called ApiKeyAiModelAuthDetails.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Constructor Detail

      • ApiKeyAiModelAuthDetails

        @Deprecated
        public ApiKeyAiModelAuthDetails​(String baseUrl,
                                        char[] apiKey,
                                        String apiKeySecretId)
        Deprecated.
    • Method Detail

      • getBaseUrl

        public String getBaseUrl()
        Base URL of the AI model endpoint.

        If not specified, the default base URL for the selected AI provider will be used.

        Returns:
        the value
      • getApiKey

        @Deprecated
        public String getApiKey()
        Deprecated.
        Use getApiKey__AsCharArray() instead.
        API key for the AI model connection.

        Deprecated: This field is deprecated and replaced by "apiKeySecretId". This change follows the GoldenGate "Plain Text Fields in Connections" deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate

        Returns:
        the value
      • getApiKey__AsCharArray

        public char[] getApiKey__AsCharArray()
        API key for the AI model connection.

        Deprecated: This field is deprecated and replaced by “apiKeySecretId”. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate

        Returns:
        the value
      • getApiKeySecretId

        public String getApiKeySecretId()
        API key secret OCID for the AI model connection.
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class AiModelAuthDetails
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation