Class DatabaseRegistrationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.DatabaseRegistrationSummary.Builder
-
- Enclosing class:
- DatabaseRegistrationSummary
public static class DatabaseRegistrationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseRegistrationSummary.Builder
aliasName(String aliasName)
Credential store alias.DatabaseRegistrationSummary
build()
DatabaseRegistrationSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment being referenced.DatabaseRegistrationSummary.Builder
connectionString(String connectionString)
Connect descriptor or Easy Connect Naming method used to connect to a database.DatabaseRegistrationSummary.Builder
copy(DatabaseRegistrationSummary model)
DatabaseRegistrationSummary.Builder
databaseId(String databaseId)
The OCID of the database being referenced.DatabaseRegistrationSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Tags defined for this resource.DatabaseRegistrationSummary.Builder
description(String description)
Metadata about this specific object.DatabaseRegistrationSummary.Builder
displayName(String displayName)
An object’s Display Name.DatabaseRegistrationSummary.Builder
fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.DatabaseRegistrationSummary.Builder
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.DatabaseRegistrationSummary.Builder
id(String id)
The OCID of the databaseRegistration being referenced.DatabaseRegistrationSummary.Builder
lifecycleDetails(String lifecycleDetails)
Describes the object’s current state in detail.DatabaseRegistrationSummary.Builder
lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.DatabaseRegistrationSummary.Builder
secretId(String secretId)
The OCID of the customer’s GoldenGate Service Secret.DatabaseRegistrationSummary.Builder
sessionMode(DatabaseRegistrationSummary.SessionMode sessionMode)
The mode of the database connection session to be established by the data client.DatabaseRegistrationSummary.Builder
subnetId(String subnetId)
The OCID of the target subnet of the dedicated connection.DatabaseRegistrationSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.DatabaseRegistrationSummary.Builder
timeCreated(Date timeCreated)
The time the resource was created.DatabaseRegistrationSummary.Builder
timeUpdated(Date timeUpdated)
The time the resource was last updated.DatabaseRegistrationSummary.Builder
username(String username)
The username Oracle GoldenGate uses to connect the associated system of the given technology.
-
-
-
Method Detail
-
id
public DatabaseRegistrationSummary.Builder id(String id)
The OCID of the databaseRegistration being referenced.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public DatabaseRegistrationSummary.Builder displayName(String displayName)
An object’s Display Name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public DatabaseRegistrationSummary.Builder description(String description)
Metadata about this specific object.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public DatabaseRegistrationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment being referenced.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public DatabaseRegistrationSummary.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 DatabaseRegistrationSummary.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 DatabaseRegistrationSummary.Builder lifecycleState(LifecycleState lifecycleState)
Possible lifecycle states.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DatabaseRegistrationSummary.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 DatabaseRegistrationSummary.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 DatabaseRegistrationSummary.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 DatabaseRegistrationSummary.Builder fqdn(String fqdn)
A three-label Fully Qualified Domain Name (FQDN) for a resource.- Parameters:
fqdn
- the value to set- Returns:
- this builder
-
subnetId
public DatabaseRegistrationSummary.Builder subnetId(String subnetId)
The OCID of the target subnet of the dedicated connection.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
systemTags
public DatabaseRegistrationSummary.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
-
databaseId
public DatabaseRegistrationSummary.Builder databaseId(String databaseId)
The OCID of the database being referenced.- Parameters:
databaseId
- the value to set- Returns:
- this builder
-
username
public DatabaseRegistrationSummary.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 DatabaseRegistrationSummary.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 DatabaseRegistrationSummary.Builder sessionMode(DatabaseRegistrationSummary.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 DatabaseRegistrationSummary.Builder aliasName(String aliasName)
Credential store alias.- Parameters:
aliasName
- the value to set- Returns:
- this builder
-
secretId
public DatabaseRegistrationSummary.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 DatabaseRegistrationSummary build()
-
copy
public DatabaseRegistrationSummary.Builder copy(DatabaseRegistrationSummary model)
-
-