Class OciGenAiModelAuthDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • apiKey

        public OciGenAiModelAuthDetails.Builder apiKey​(char[] apiKey)
        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

        Parameters:
        apiKey - the value to set
        Returns:
        this builder
      • apiKeySecretId

        public OciGenAiModelAuthDetails.Builder apiKeySecretId​(String apiKeySecretId)
        API key secret OCID for the AI model connection.
        Parameters:
        apiKeySecretId - the value to set
        Returns:
        this builder
      • keyFingerprint

        public OciGenAiModelAuthDetails.Builder keyFingerprint​(String keyFingerprint)
        OCI Generative AI key fingerprint.
        Parameters:
        keyFingerprint - the value to set
        Returns:
        this builder
      • region

        public OciGenAiModelAuthDetails.Builder region​(String region)
        The name of the region.

        e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.

        Parameters:
        region - the value to set
        Returns:
        this builder
      • tenancyId

        public OciGenAiModelAuthDetails.Builder tenancyId​(String tenancyId)
        OCI Generative AI tenancy OCID.

        If this value is not provided, or is updated to an empty value, it defaults to the tenancy OCID of the user who is executing the operation.

        Parameters:
        tenancyId - the value to set
        Returns:
        this builder
      • userId

        public OciGenAiModelAuthDetails.Builder userId​(String userId)
        OCI Generative AI user OCID.

        If this value is not provided, or is updated to an empty value, it defaults to the OCID of the user who is executing the operation.

        Parameters:
        userId - the value to set
        Returns:
        this builder