Package com.oracle.bmc.goldengate.model
Class UpdateApiKeyAiModelAuthDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.UpdateAiModelAuthDetails
-
- com.oracle.bmc.goldengate.model.UpdateApiKeyAiModelAuthDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class UpdateApiKeyAiModelAuthDetails extends UpdateAiModelAuthDetailsThe information to update API key authentication details for an AI Model connection.
Note: Objects should always be created or deserialized using theUpdateApiKeyAiModelAuthDetails.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 theUpdateApiKeyAiModelAuthDetails.Builder, which maintain a set of all explicitly set fields calledUpdateApiKeyAiModelAuthDetails.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 classUpdateApiKeyAiModelAuthDetails.Builder
-
Constructor Summary
Constructors Constructor Description UpdateApiKeyAiModelAuthDetails(String baseUrl, char[] apiKey, String apiKeySecretId)Deprecated.UpdateApiKeyAiModelAuthDetails(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 UpdateApiKeyAiModelAuthDetails.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()UpdateApiKeyAiModelAuthDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateApiKeyAiModelAuthDetails
@Deprecated public UpdateApiKeyAiModelAuthDetails(String baseUrl, String apiKey, String apiKeySecretId)
Deprecated.
-
UpdateApiKeyAiModelAuthDetails
@Deprecated public UpdateApiKeyAiModelAuthDetails(String baseUrl, char[] apiKey, String apiKeySecretId)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateApiKeyAiModelAuthDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateApiKeyAiModelAuthDetails.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 classUpdateAiModelAuthDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classUpdateAiModelAuthDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classUpdateAiModelAuthDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUpdateAiModelAuthDetails
-
-