Class CreateDatabaseRegistrationDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.CreateDatabaseRegistrationDetails.Builder
-
- Enclosing class:
- CreateDatabaseRegistrationDetails
public static class CreateDatabaseRegistrationDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDatabaseRegistrationDetails.Builder
aliasName(String aliasName)
Credential store alias.CreateDatabaseRegistrationDetails
build()
CreateDatabaseRegistrationDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment being referenced.CreateDatabaseRegistrationDetails.Builder
connectionString(String connectionString)
Connect descriptor or Easy Connect Naming method used to connect to a database.CreateDatabaseRegistrationDetails.Builder
copy(CreateDatabaseRegistrationDetails model)
CreateDatabaseRegistrationDetails.Builder
databaseId(String databaseId)
The OCID of the database being referenced.CreateDatabaseRegistrationDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource.CreateDatabaseRegistrationDetails.Builder
description(String description)
Metadata about this specific object.CreateDatabaseRegistrationDetails.Builder
displayName(String displayName)
An object’s Display Name.CreateDatabaseRegistrationDetails.Builder
fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.CreateDatabaseRegistrationDetails.Builder
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.CreateDatabaseRegistrationDetails.Builder
ipAddress(String ipAddress)
The private IP address in the customer’s VCN of the customer’s endpoint, typically a database.CreateDatabaseRegistrationDetails.Builder
keyId(String keyId)
Refers to the customer’s master key OCID.CreateDatabaseRegistrationDetails.Builder
password(String password)
The password Oracle GoldenGate uses to connect the associated system of the given technology.CreateDatabaseRegistrationDetails.Builder
secretCompartmentId(String secretCompartmentId)
The OCID of the compartment where the GoldenGate Secret will be created.CreateDatabaseRegistrationDetails.Builder
sessionMode(CreateDatabaseRegistrationDetails.SessionMode sessionMode)
The mode of the database connection session to be established by the data client.CreateDatabaseRegistrationDetails.Builder
subnetId(String subnetId)
The OCID of the target subnet of the dedicated connection.CreateDatabaseRegistrationDetails.Builder
username(String username)
The username Oracle GoldenGate uses to connect the associated system of the given technology.CreateDatabaseRegistrationDetails.Builder
vaultId(String vaultId)
Refers to the customer’s vault OCID.CreateDatabaseRegistrationDetails.Builder
wallet(String wallet)
The wallet contents Oracle GoldenGate uses to make connections to a database.
-
-
-
Method Detail
-
displayName
public CreateDatabaseRegistrationDetails.Builder displayName(String displayName)
An object’s Display Name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateDatabaseRegistrationDetails.Builder description(String description)
Metadata about this specific object.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public CreateDatabaseRegistrationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
freeformTags
public CreateDatabaseRegistrationDetails.Builder freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.Exists for cross-compatibility only.
Example: {"bar-key": "value"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CreateDatabaseRegistrationDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource.Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
fqdn
public CreateDatabaseRegistrationDetails.Builder fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.- Parameters:
fqdn
- the value to set- Returns:
- this builder
-
ipAddress
public CreateDatabaseRegistrationDetails.Builder ipAddress(String ipAddress)
The private IP address in the customer’s VCN of the customer’s endpoint, typically a database.- Parameters:
ipAddress
- the value to set- Returns:
- this builder
-
subnetId
public CreateDatabaseRegistrationDetails.Builder subnetId(String subnetId)
The OCID of the target subnet of the dedicated connection.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
databaseId
public CreateDatabaseRegistrationDetails.Builder databaseId(String databaseId)
The OCID of the database being referenced.- Parameters:
databaseId
- the value to set- Returns:
- this builder
-
username
public CreateDatabaseRegistrationDetails.Builder username(String username)
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.
- Parameters:
username
- the value to set- Returns:
- this builder
-
password
public CreateDatabaseRegistrationDetails.Builder password(String password)
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.
- Parameters:
password
- the value to set- Returns:
- this builder
-
connectionString
public CreateDatabaseRegistrationDetails.Builder connectionString(String connectionString)
Connect descriptor or Easy Connect Naming method used to connect to a database.- Parameters:
connectionString
- the value to set- Returns:
- this builder
-
sessionMode
public CreateDatabaseRegistrationDetails.Builder sessionMode(CreateDatabaseRegistrationDetails.SessionMode sessionMode)
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.
- Parameters:
sessionMode
- the value to set- Returns:
- this builder
-
wallet
public CreateDatabaseRegistrationDetails.Builder wallet(String wallet)
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.
- Parameters:
wallet
- the value to set- Returns:
- this builder
-
aliasName
public CreateDatabaseRegistrationDetails.Builder aliasName(String aliasName)
Credential store alias.- Parameters:
aliasName
- the value to set- Returns:
- this builder
-
vaultId
public CreateDatabaseRegistrationDetails.Builder vaultId(String vaultId)
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.
- Parameters:
vaultId
- the value to set- Returns:
- this builder
-
keyId
public CreateDatabaseRegistrationDetails.Builder keyId(String keyId)
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.
- Parameters:
keyId
- the value to set- Returns:
- this builder
-
secretCompartmentId
public CreateDatabaseRegistrationDetails.Builder secretCompartmentId(String secretCompartmentId)
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.
- Parameters:
secretCompartmentId
- the value to set- Returns:
- this builder
-
build
public CreateDatabaseRegistrationDetails build()
-
copy
public CreateDatabaseRegistrationDetails.Builder copy(CreateDatabaseRegistrationDetails model)
-
-