Class CreateOciGenAiModelAuthDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.CreateAiModelAuthDetails
-
- com.oracle.bmc.goldengate.model.CreateOciGenAiModelAuthDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class CreateOciGenAiModelAuthDetails extends CreateAiModelAuthDetailsThe information about new OCI Generative AI authentication details for an AI Model connection.
Note: Objects should always be created or deserialized using theCreateOciGenAiModelAuthDetails.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 theCreateOciGenAiModelAuthDetails.Builder, which maintain a set of all explicitly set fields calledCreateOciGenAiModelAuthDetails.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 classCreateOciGenAiModelAuthDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateOciGenAiModelAuthDetails(char[] apiKey, String apiKeySecretId, String keyFingerprint, String region, String tenancyId, String userId)Deprecated.CreateOciGenAiModelAuthDetails(String apiKey, String apiKeySecretId, String keyFingerprint, String region, String tenancyId, String userId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CreateOciGenAiModelAuthDetails.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.StringgetKeyFingerprint()OCI Generative AI key fingerprint.StringgetRegion()The name of the region.StringgetTenancyId()OCI Generative AI tenancy OCID.StringgetUserId()OCI Generative AI user OCID.inthashCode()CreateOciGenAiModelAuthDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Method Detail
-
builder
public static CreateOciGenAiModelAuthDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateOciGenAiModelAuthDetails.Builder toBuilder()
-
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
-
getKeyFingerprint
public String getKeyFingerprint()
OCI Generative AI key fingerprint.- Returns:
- the value
-
getRegion
public String getRegion()
The name of the region.e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.
- Returns:
- the value
-
getTenancyId
public String getTenancyId()
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.
- Returns:
- the value
-
getUserId
public String getUserId()
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classCreateAiModelAuthDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateAiModelAuthDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateAiModelAuthDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateAiModelAuthDetails
-
-