Package com.oracle.bmc.goldengate.model
Class CreateApiKeyAiModelAuthDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.CreateApiKeyAiModelAuthDetails.Builder
-
- Enclosing class:
- CreateApiKeyAiModelAuthDetails
public static class CreateApiKeyAiModelAuthDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateApiKeyAiModelAuthDetails.BuilderapiKey(char[] apiKey)API key for the AI model connection.CreateApiKeyAiModelAuthDetails.BuilderapiKey(String apiKey)CreateApiKeyAiModelAuthDetails.BuilderapiKeySecretId(String apiKeySecretId)API key secret OCID for the AI model connection.CreateApiKeyAiModelAuthDetails.BuilderbaseUrl(String baseUrl)Base URL of the AI model endpoint.CreateApiKeyAiModelAuthDetailsbuild()CreateApiKeyAiModelAuthDetails.Buildercopy(CreateApiKeyAiModelAuthDetails model)
-
-
-
Method Detail
-
baseUrl
public CreateApiKeyAiModelAuthDetails.Builder baseUrl(String baseUrl)
Base URL of the AI model endpoint.If not specified, the default base URL for the selected AI provider will be used.
- Parameters:
baseUrl- the value to set- Returns:
- this builder
-
apiKey
public CreateApiKeyAiModelAuthDetails.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
-
apiKey
public CreateApiKeyAiModelAuthDetails.Builder apiKey(String apiKey)
-
apiKeySecretId
public CreateApiKeyAiModelAuthDetails.Builder apiKeySecretId(String apiKeySecretId)
API key secret OCID for the AI model connection.- Parameters:
apiKeySecretId- the value to set- Returns:
- this builder
-
build
public CreateApiKeyAiModelAuthDetails build()
-
copy
public CreateApiKeyAiModelAuthDetails.Builder copy(CreateApiKeyAiModelAuthDetails model)
-
-