Package com.oracle.bmc.goldengate.model
Class ApiKeyAiModelAuthDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.AiModelAuthDetails
-
- com.oracle.bmc.goldengate.model.ApiKeyAiModelAuthDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class ApiKeyAiModelAuthDetails extends AiModelAuthDetailsAPI key authentication details for an AI Model connection.
Note: Objects should always be created or deserialized using theApiKeyAiModelAuthDetails.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 theApiKeyAiModelAuthDetails.Builder, which maintain a set of all explicitly set fields calledApiKeyAiModelAuthDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApiKeyAiModelAuthDetails.Builder
-
Constructor Summary
Constructors Constructor Description ApiKeyAiModelAuthDetails(String baseUrl, char[] apiKey, String apiKeySecretId)Deprecated.ApiKeyAiModelAuthDetails(String baseUrl, String apiKey, String apiKeySecretId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ApiKeyAiModelAuthDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetApiKey()Deprecated.Use getApiKey__AsCharArray() instead.char[]getApiKey__AsCharArray()API key for the AI model connection.StringgetApiKeySecretId()API key secret OCID for the AI model connection.StringgetBaseUrl()Base URL of the AI model endpoint.inthashCode()ApiKeyAiModelAuthDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ApiKeyAiModelAuthDetails
@Deprecated public ApiKeyAiModelAuthDetails(String baseUrl, String apiKey, String apiKeySecretId)
Deprecated.
-
ApiKeyAiModelAuthDetails
@Deprecated public ApiKeyAiModelAuthDetails(String baseUrl, char[] apiKey, String apiKeySecretId)
Deprecated.
-
-
Method Detail
-
builder
public static ApiKeyAiModelAuthDetails.Builder builder()
Create a new builder.
-
toBuilder
public ApiKeyAiModelAuthDetails.Builder toBuilder()
-
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()
- Overrides:
toStringin classAiModelAuthDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classAiModelAuthDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAiModelAuthDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAiModelAuthDetails
-
-