Class CreateDatabaseRegistrationDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.goldengate.model.CreateDatabaseRegistrationDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class CreateDatabaseRegistrationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe information about a new DatabaseRegistration.
 Note: Objects should always be created or deserialized using theCreateDatabaseRegistrationDetails.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 theCreateDatabaseRegistrationDetails.Builder, which maintain a set of all explicitly set fields calledCreateDatabaseRegistrationDetails.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 SummaryNested Classes Modifier and Type Class Description static classCreateDatabaseRegistrationDetails.Builderstatic classCreateDatabaseRegistrationDetails.SessionModeThe mode of the database connection session to be established by the data client.
 - 
Constructor SummaryConstructors Constructor Description CreateDatabaseRegistrationDetails(String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String fqdn, String ipAddress, String subnetId, String databaseId, String username, String password, String connectionString, CreateDatabaseRegistrationDetails.SessionMode sessionMode, String wallet, String aliasName, String vaultId, String keyId, String secretCompartmentId)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDatabaseRegistrationDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAliasName()Credential store alias.StringgetCompartmentId()The OCID of the compartment being referenced.StringgetConnectionString()Connect descriptor or Easy Connect Naming method used to connect to a database.StringgetDatabaseId()The OCID of the database being referenced.Map<String,Map<String,Object>>getDefinedTags()Tags defined for this resource.StringgetDescription()Metadata about this specific object.StringgetDisplayName()An object’s Display Name.StringgetFqdn()A three-label Fully Qualified Domain Name (FQDN) for a resource.Map<String,String>getFreeformTags()A simple key-value pair that is applied without any predefined name, type, or scope.StringgetIpAddress()The private IP address in the customer’s VCN of the customer’s endpoint, typically a database.StringgetKeyId()Refers to the customer’s master key OCID.StringgetPassword()The password Oracle GoldenGate uses to connect the associated system of the given technology.StringgetSecretCompartmentId()The OCID of the compartment where the GoldenGate Secret will be created.CreateDatabaseRegistrationDetails.SessionModegetSessionMode()The mode of the database connection session to be established by the data client.StringgetSubnetId()The OCID of the target subnet of the dedicated connection.StringgetUsername()The username Oracle GoldenGate uses to connect the associated system of the given technology.StringgetVaultId()Refers to the customer’s vault OCID.StringgetWallet()The wallet contents Oracle GoldenGate uses to make connections to a database.inthashCode()CreateDatabaseRegistrationDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
CreateDatabaseRegistrationDetails@Deprecated @ConstructorProperties({"displayName","description","compartmentId","freeformTags","definedTags","fqdn","ipAddress","subnetId","databaseId","username","password","connectionString","sessionMode","wallet","aliasName","vaultId","keyId","secretCompartmentId"}) public CreateDatabaseRegistrationDetails(String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String fqdn, String ipAddress, String subnetId, String databaseId, String username, String password, String connectionString, CreateDatabaseRegistrationDetails.SessionMode sessionMode, String wallet, String aliasName, String vaultId, String keyId, String secretCompartmentId) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CreateDatabaseRegistrationDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic CreateDatabaseRegistrationDetails.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() An object’s Display Name.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Metadata about this specific object.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment being referenced.- Returns:
- the value
 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() A simple key-value pair that is applied without any predefined name, type, or scope.Exists for cross-compatibility only. Example: {"bar-key": "value"} - Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Tags defined for this resource.Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} - Returns:
- the value
 
 - 
getFqdnpublic String getFqdn() A three-label Fully Qualified Domain Name (FQDN) for a resource.- Returns:
- the value
 
 - 
getIpAddresspublic String getIpAddress() The private IP address in the customer’s VCN of the customer’s endpoint, typically a database.- Returns:
- the value
 
 - 
getSubnetIdpublic String getSubnetId() The OCID of the target subnet of the dedicated connection.- Returns:
- the value
 
 - 
getDatabaseIdpublic String getDatabaseId() The OCID of the database being referenced.- Returns:
- the value
 
 - 
getUsernamepublic String getUsername() The username Oracle GoldenGate uses to connect the associated system of the given technology.This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. - Returns:
- the value
 
 - 
getPasswordpublic String getPassword() The password Oracle GoldenGate uses to connect the associated system of the given technology.It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by “passwordSecretId”. This field will be removed after February 15 2026. - Returns:
- the value
 
 - 
getConnectionStringpublic String getConnectionString() Connect descriptor or Easy Connect Naming method used to connect to a database.- Returns:
- the value
 
 - 
getSessionModepublic CreateDatabaseRegistrationDetails.SessionMode getSessionMode() The mode of the database connection session to be established by the data client.‘REDIRECT’ - for a RAC database, ‘DIRECT’ - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT.
 - Returns:
- the value
 
 - 
getWalletpublic String getWallet() The wallet contents Oracle GoldenGate uses to make connections to a database.This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by “walletSecretId”. This field will be removed after February 15 2026. - Returns:
- the value
 
 - 
getAliasNamepublic String getAliasName() Credential store alias.- Returns:
- the value
 
 - 
getVaultIdpublic String getVaultId() Refers to the customer’s vault OCID.If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. - Returns:
- the value
 
 - 
getKeyIdpublic String getKeyId() Refers to the customer’s master key OCID.If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. - Returns:
- the value
 
 - 
getSecretCompartmentIdpublic String getSecretCompartmentId() The OCID of the compartment where the GoldenGate Secret will be created.If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-