Class OracleConnectionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.OracleConnectionSummary.Builder
-
- Enclosing class:
- OracleConnectionSummary
public static class OracleConnectionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public OracleConnectionSummary.Builder id(String id)
-
displayName
public OracleConnectionSummary.Builder displayName(String displayName)
-
description
public OracleConnectionSummary.Builder description(String description)
-
compartmentId
public OracleConnectionSummary.Builder compartmentId(String compartmentId)
-
freeformTags
public OracleConnectionSummary.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public OracleConnectionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public OracleConnectionSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public OracleConnectionSummary.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public OracleConnectionSummary.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public OracleConnectionSummary.Builder timeCreated(Date timeCreated)
-
timeUpdated
public OracleConnectionSummary.Builder timeUpdated(Date timeUpdated)
-
vaultId
public OracleConnectionSummary.Builder vaultId(String vaultId)
-
keyId
public OracleConnectionSummary.Builder keyId(String keyId)
-
ingressIps
public OracleConnectionSummary.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public OracleConnectionSummary.Builder nsgIds(List<String> nsgIds)
-
subnetId
public OracleConnectionSummary.Builder subnetId(String subnetId)
-
routingMethod
public OracleConnectionSummary.Builder routingMethod(RoutingMethod routingMethod)
-
locks
public OracleConnectionSummary.Builder locks(List<ResourceLock> locks)
-
doesUseSecretIds
public OracleConnectionSummary.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
subscriptionId
public OracleConnectionSummary.Builder subscriptionId(String subscriptionId)
-
clusterPlacementGroupId
public OracleConnectionSummary.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
-
securityAttributes
public OracleConnectionSummary.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
-
technologyType
public OracleConnectionSummary.Builder technologyType(OracleConnection.TechnologyType technologyType)
The Oracle technology type.- Parameters:
technologyType- the value to set- Returns:
- this builder
-
username
public OracleConnectionSummary.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 OracleConnectionSummary.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
-
authenticationMode
public OracleConnectionSummary.Builder authenticationMode(OracleConnection.AuthenticationMode authenticationMode)
Authentication mode.It can be provided at creation of Oracle Autonomous Database Serverless connections, when a databaseId is provided. The default value is MTLS.
- Parameters:
authenticationMode- the value to set- Returns:
- this builder
-
sessionMode
public OracleConnectionSummary.Builder sessionMode(OracleConnection.SessionMode sessionMode)
Specifies the session mode for the database connection.Use REDIRECT only for RAC databases with SCAN listeners that return IP addresses. For RAC databases with SCAN listeners that return FQDNs, and for all other Oracle database technologies, use DIRECT. In RAC deployments, SCAN listeners redirects a connection to a specific database node, identified by either IP address or FQDN. It is recommended to configure RAC with FQDN-based SCAN listeners.
The default is DIRECT, except when databaseId is provided and the discovered database relies on the SCAN listener. In this case, the default is REDIRECT.
Deprecated: Defaulting to the REDIRECT session mode will be removed after March 1, 2027.
- Parameters:
sessionMode- the value to set- Returns:
- this builder
-
privateIp
public OracleConnectionSummary.Builder privateIp(String privateIp)
This property is not available when creating connections.For existing deprecated connections having this value set, the value cannot be updated; set it to empty.
For deprecated connections created with this field in the past, either the private IP had to be specified in the connectionString or host field, or the host name had to be resolvable in the target VCN.
- Parameters:
privateIp- the value to set- Returns:
- this builder
-
databaseId
public OracleConnectionSummary.Builder databaseId(String databaseId)
The OCID of the database being referenced.- Parameters:
databaseId- the value to set- Returns:
- this builder
-
passwordSecretId
public OracleConnectionSummary.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret where the password is stored.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. If secretId is used plaintext field must not be provided. Note: When provided, ‘password’ field must not be provided.
- Parameters:
passwordSecretId- the value to set- Returns:
- this builder
-
walletSecretId
public OracleConnectionSummary.Builder walletSecretId(String walletSecretId)
The OCID of the Secret where the wallet file is stored.The wallet contents Oracle GoldenGate uses to make connections to a database. Note: When provided, ‘wallet’ field must not be provided.
- Parameters:
walletSecretId- the value to set- Returns:
- this builder
-
build
public OracleConnectionSummary build()
-
copy
public OracleConnectionSummary.Builder copy(OracleConnectionSummary model)
-
-