public static class DatabaseRegistration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseRegistration.Builder |
aliasName(String aliasName)
Credential store alias.
|
DatabaseRegistration |
build() |
DatabaseRegistration.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment being referenced.
|
DatabaseRegistration.Builder |
connectionString(String connectionString)
Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect
to a database.
|
DatabaseRegistration.Builder |
copy(DatabaseRegistration model) |
DatabaseRegistration.Builder |
databaseId(String databaseId)
The OCID of the
database being referenced.
|
DatabaseRegistration.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource.
|
DatabaseRegistration.Builder |
description(String description)
Metadata about this specific object.
|
DatabaseRegistration.Builder |
displayName(String displayName)
An object’s Display Name.
|
DatabaseRegistration.Builder |
fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.
|
DatabaseRegistration.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
DatabaseRegistration.Builder |
id(String id)
The OCID of the
databaseRegistration being referenced.
|
DatabaseRegistration.Builder |
ipAddress(String ipAddress)
The private IP address in the customer’s VCN of the customer’s endpoint, typically a
database.
|
DatabaseRegistration.Builder |
keyId(String keyId)
The OCID of the
customer “Master” key being referenced.
|
DatabaseRegistration.Builder |
lifecycleDetails(String lifecycleDetails)
Describes the object’s current state in detail.
|
DatabaseRegistration.Builder |
lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.
|
DatabaseRegistration.Builder |
rcePrivateIp(String rcePrivateIp)
A Private Endpoint IP Address created in the customer’s subnet.
|
DatabaseRegistration.Builder |
secretCompartmentId(String secretCompartmentId)
The OCID of the
compartment where the the GGS Secret will be created.
|
DatabaseRegistration.Builder |
secretId(String secretId)
The OCID of the
customer GGS Secret being referenced.
|
DatabaseRegistration.Builder |
sessionMode(DatabaseRegistration.SessionMode sessionMode)
The mode of the database connection session to be established by the data client.
|
DatabaseRegistration.Builder |
subnetId(String subnetId)
The OCID of the
subnet being referenced.
|
DatabaseRegistration.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
DatabaseRegistration.Builder |
timeCreated(Date timeCreated)
The time the resource was created.
|
DatabaseRegistration.Builder |
timeUpdated(Date timeUpdated)
The time the resource was last updated.
|
DatabaseRegistration.Builder |
username(String username)
The username Oracle GoldenGate uses to connect the associated RDBMS.
|
DatabaseRegistration.Builder |
vaultId(String vaultId)
The OCID of the
customer vault being referenced.
|
public DatabaseRegistration.Builder id(String id)
The OCID of the databaseRegistration being referenced.
id
- the value to setpublic DatabaseRegistration.Builder displayName(String displayName)
An object’s Display Name.
displayName
- the value to setpublic DatabaseRegistration.Builder description(String description)
Metadata about this specific object.
description
- the value to setpublic DatabaseRegistration.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.
compartmentId
- the value to setpublic DatabaseRegistration.Builder timeCreated(Date timeCreated)
The time the resource was created. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeCreated
- the value to setpublic DatabaseRegistration.Builder timeUpdated(Date timeUpdated)
The time the resource was last updated. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeUpdated
- the value to setpublic DatabaseRegistration.Builder lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.
lifecycleState
- the value to setpublic DatabaseRegistration.Builder lifecycleDetails(String lifecycleDetails)
Describes the object’s current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
lifecycleDetails
- the value to setpublic DatabaseRegistration.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"}
freeformTags
- the value to setpublic DatabaseRegistration.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"}}
definedTags
- the value to setpublic DatabaseRegistration.Builder fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.
fqdn
- the value to setpublic DatabaseRegistration.Builder ipAddress(String ipAddress)
The private IP address in the customer’s VCN of the customer’s endpoint, typically a database.
ipAddress
- the value to setpublic DatabaseRegistration.Builder subnetId(String subnetId)
The OCID of the subnet being referenced.
subnetId
- the value to setpublic DatabaseRegistration.Builder databaseId(String databaseId)
The OCID of the database being referenced.
databaseId
- the value to setpublic DatabaseRegistration.Builder rcePrivateIp(String rcePrivateIp)
A Private Endpoint IP Address created in the customer’s subnet. A customer database can expect network traffic initiated by GGS from this IP address and send network traffic to this IP address, typically in response to requests from GGS (OGG). The customer may utilize this IP address in Security Lists or Network Security Groups (NSG) as needed.
rcePrivateIp
- the value to setpublic DatabaseRegistration.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
systemTags
- the value to setpublic DatabaseRegistration.Builder username(String username)
The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on.
username
- the value to setpublic DatabaseRegistration.Builder connectionString(String connectionString)
Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database.
connectionString
- the value to setpublic DatabaseRegistration.Builder sessionMode(DatabaseRegistration.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.
sessionMode
- the value to setpublic DatabaseRegistration.Builder aliasName(String aliasName)
Credential store alias.
aliasName
- the value to setpublic DatabaseRegistration.Builder vaultId(String vaultId)
The OCID of the customer vault being referenced. If provided, this will reference a vault which the customer will be required to ensure the policies are established to permit the GoldenGate Service to manage secrets contained within this vault.
vaultId
- the value to setpublic DatabaseRegistration.Builder keyId(String keyId)
The OCID of the customer “Master” key being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this key to manage secrets.
keyId
- the value to setpublic DatabaseRegistration.Builder secretCompartmentId(String secretCompartmentId)
The OCID of the compartment where the the GGS Secret will be created. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Compartment in which to create a Secret.
secretCompartmentId
- the value to setpublic DatabaseRegistration.Builder secretId(String secretId)
The OCID of the customer GGS Secret being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Secret
secretId
- the value to setpublic DatabaseRegistration build()
public DatabaseRegistration.Builder copy(DatabaseRegistration model)
Copyright © 2016–2023. All rights reserved.