Package com.oracle.bmc.goldengate.model
Class MongoDbConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.MongoDbConnection.Builder
-
- Enclosing class:
- MongoDbConnection
public static class MongoDbConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public MongoDbConnection.Builder id(String id)
-
displayName
public MongoDbConnection.Builder displayName(String displayName)
-
description
public MongoDbConnection.Builder description(String description)
-
compartmentId
public MongoDbConnection.Builder compartmentId(String compartmentId)
-
freeformTags
public MongoDbConnection.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public MongoDbConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public MongoDbConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public MongoDbConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public MongoDbConnection.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public MongoDbConnection.Builder timeCreated(Date timeCreated)
-
timeUpdated
public MongoDbConnection.Builder timeUpdated(Date timeUpdated)
-
locks
public MongoDbConnection.Builder locks(List<ResourceLock> locks)
-
vaultId
public MongoDbConnection.Builder vaultId(String vaultId)
-
keyId
public MongoDbConnection.Builder keyId(String keyId)
-
ingressIps
public MongoDbConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public MongoDbConnection.Builder nsgIds(List<String> nsgIds)
-
subnetId
public MongoDbConnection.Builder subnetId(String subnetId)
-
routingMethod
public MongoDbConnection.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public MongoDbConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public MongoDbConnection.Builder technologyType(MongoDbConnection.TechnologyType technologyType)
The MongoDB technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
connectionString
public MongoDbConnection.Builder connectionString(String connectionString)
MongoDB connection string.e.g.: ‘mongodb://mongodb0.example.com:27017/recordsrecords’
- Parameters:
connectionString
- the value to set- Returns:
- this builder
-
username
public MongoDbConnection.Builder username(String username)
The username Oracle GoldenGate uses to connect to the database.This username must already exist and be available by the database to be connected to.
- Parameters:
username
- the value to set- Returns:
- this builder
-
databaseId
public MongoDbConnection.Builder databaseId(String databaseId)
The OCID of the Oracle Autonomous Json Database.- Parameters:
databaseId
- the value to set- Returns:
- this builder
-
securityProtocol
public MongoDbConnection.Builder securityProtocol(MongoDbConnection.SecurityProtocol securityProtocol)
Security Protocol for MongoDB.- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
passwordSecretId
public MongoDbConnection.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret that stores the password Oracle GoldenGate uses to connect the associated database.Note: When provided, ‘password’ field must not be provided.
- Parameters:
passwordSecretId
- the value to set- Returns:
- this builder
-
tlsCertificateKeyFileSecretId
public MongoDbConnection.Builder tlsCertificateKeyFileSecretId(String tlsCertificateKeyFileSecretId)
The OCID of the Secret that stores the certificate key file of the mtls connection.- The content of a .pem file containing the client private key (for 2-way SSL). Note: When provided, ‘tlsCertificateKeyFile’ field must not be provided.
- Parameters:
tlsCertificateKeyFileSecretId
- the value to set- Returns:
- this builder
-
tlsCertificateKeyFilePasswordSecretId
public MongoDbConnection.Builder tlsCertificateKeyFilePasswordSecretId(String tlsCertificateKeyFilePasswordSecretId)
The OCID of the Secret that stores the password of the tls certificate key file.Note: When provided, ‘tlsCertificateKeyFilePassword’ field must not be provided.
- Parameters:
tlsCertificateKeyFilePasswordSecretId
- the value to set- Returns:
- this builder
-
build
public MongoDbConnection build()
-
copy
public MongoDbConnection.Builder copy(MongoDbConnection model)
-
-