Class DatabaseRegistration.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.DatabaseRegistration.Builder
-
- Enclosing class:
- DatabaseRegistration
public static class DatabaseRegistration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseRegistration.BuilderaliasName(String aliasName)Credential store alias.DatabaseRegistrationbuild()DatabaseRegistration.BuildercompartmentId(String compartmentId)The OCID of the compartment being referenced.DatabaseRegistration.BuilderconnectionString(String connectionString)Connect descriptor or Easy Connect Naming method used to connect to a database.DatabaseRegistration.Buildercopy(DatabaseRegistration model)DatabaseRegistration.BuilderdatabaseId(String databaseId)The OCID of the database being referenced.DatabaseRegistration.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Tags defined for this resource.DatabaseRegistration.Builderdescription(String description)Metadata about this specific object.DatabaseRegistration.BuilderdisplayName(String displayName)An object’s Display Name.DatabaseRegistration.Builderfqdn(String fqdn)A three-label Fully Qualified Domain Name (FQDN) for a resource.DatabaseRegistration.BuilderfreeformTags(Map<String,String> freeformTags)A simple key-value pair that is applied without any predefined name, type, or scope.DatabaseRegistration.Builderid(String id)The OCID of the databaseRegistration being referenced.DatabaseRegistration.BuilderipAddress(String ipAddress)The private IP address in the customer’s VCN of the customer’s endpoint, typically a database.DatabaseRegistration.BuilderkeyId(String keyId)Refers to the customer’s master key OCID.DatabaseRegistration.BuilderlifecycleDetails(String lifecycleDetails)Describes the object’s current state in detail.DatabaseRegistration.BuilderlifecycleState(LifecycleState lifecycleState)Possible lifecycle states.DatabaseRegistration.BuilderrcePrivateIp(String rcePrivateIp)A Private Endpoint IP address created in the customer’s subnet.DatabaseRegistration.BuildersecretCompartmentId(String secretCompartmentId)The OCID of the compartment where the GoldenGate Secret will be created.DatabaseRegistration.BuildersecretId(String secretId)The OCID of the customer’s GoldenGate Service Secret.DatabaseRegistration.BuildersessionMode(DatabaseRegistration.SessionMode sessionMode)The mode of the database connection session to be established by the data client.DatabaseRegistration.BuildersubnetId(String subnetId)The OCID of the target subnet of the dedicated connection.DatabaseRegistration.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.DatabaseRegistration.BuildertimeCreated(Date timeCreated)The time the resource was created.DatabaseRegistration.BuildertimeUpdated(Date timeUpdated)The time the resource was last updated.DatabaseRegistration.Builderusername(String username)The username Oracle GoldenGate uses to connect the associated system of the given technology.DatabaseRegistration.BuildervaultId(String vaultId)Refers to the customer’s vault OCID.
-
-
-
Method Detail
-
id
public DatabaseRegistration.Builder id(String id)
The OCID of the databaseRegistration being referenced.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public DatabaseRegistration.Builder displayName(String displayName)
An object’s Display Name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public DatabaseRegistration.Builder description(String description)
Metadata about this specific object.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public DatabaseRegistration.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeCreated
public 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.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public 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.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public DatabaseRegistration.Builder lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
fqdn
public DatabaseRegistration.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 DatabaseRegistration.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 DatabaseRegistration.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 DatabaseRegistration.Builder databaseId(String databaseId)
The OCID of the database being referenced.- Parameters:
databaseId- the value to set- Returns:
- this builder
-
rcePrivateIp
public 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 GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed.
- Parameters:
rcePrivateIp- the value to set- Returns:
- this builder
-
systemTags
public 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}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
username
public DatabaseRegistration.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
-
connectionString
public DatabaseRegistration.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 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.
- Parameters:
sessionMode- the value to set- Returns:
- this builder
-
aliasName
public DatabaseRegistration.Builder aliasName(String aliasName)
Credential store alias.- Parameters:
aliasName- the value to set- Returns:
- this builder
-
vaultId
public DatabaseRegistration.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 DatabaseRegistration.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 DatabaseRegistration.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
-
secretId
public DatabaseRegistration.Builder secretId(String secretId)
The OCID of the customer’s GoldenGate Service Secret.If provided, it references a key that customers will be required to ensure the policies are established to permit GoldenGate to use this Secret.
- Parameters:
secretId- the value to set- Returns:
- this builder
-
build
public DatabaseRegistration build()
-
copy
public DatabaseRegistration.Builder copy(DatabaseRegistration model)
-
-