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 SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic MongoDbConnection.Builder id(String id) 
 - 
displayNamepublic MongoDbConnection.Builder displayName(String displayName) 
 - 
descriptionpublic MongoDbConnection.Builder description(String description) 
 - 
compartmentIdpublic MongoDbConnection.Builder compartmentId(String compartmentId) 
 - 
freeformTagspublic MongoDbConnection.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic MongoDbConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
systemTagspublic MongoDbConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags) 
 - 
lifecycleStatepublic MongoDbConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState) 
 - 
lifecycleDetailspublic MongoDbConnection.Builder lifecycleDetails(String lifecycleDetails) 
 - 
timeCreatedpublic MongoDbConnection.Builder timeCreated(Date timeCreated) 
 - 
timeUpdatedpublic MongoDbConnection.Builder timeUpdated(Date timeUpdated) 
 - 
lockspublic MongoDbConnection.Builder locks(List<ResourceLock> locks) 
 - 
vaultIdpublic MongoDbConnection.Builder vaultId(String vaultId) 
 - 
keyIdpublic MongoDbConnection.Builder keyId(String keyId) 
 - 
ingressIpspublic MongoDbConnection.Builder ingressIps(List<IngressIpDetails> ingressIps) 
 - 
nsgIdspublic MongoDbConnection.Builder nsgIds(List<String> nsgIds) 
 - 
subnetIdpublic MongoDbConnection.Builder subnetId(String subnetId) 
 - 
routingMethodpublic MongoDbConnection.Builder routingMethod(RoutingMethod routingMethod) 
 - 
doesUseSecretIdspublic MongoDbConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds) 
 - 
subscriptionIdpublic MongoDbConnection.Builder subscriptionId(String subscriptionId) 
 - 
clusterPlacementGroupIdpublic MongoDbConnection.Builder clusterPlacementGroupId(String clusterPlacementGroupId) 
 - 
securityAttributespublic MongoDbConnection.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) 
 - 
technologyTypepublic MongoDbConnection.Builder technologyType(MongoDbConnection.TechnologyType technologyType) The MongoDB technology type.- Parameters:
- technologyType- the value to set
- Returns:
- this builder
 
 - 
connectionStringpublic 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
 
 - 
usernamepublic 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
 
 - 
databaseIdpublic MongoDbConnection.Builder databaseId(String databaseId) The OCID of the Oracle Autonomous Json Database.- Parameters:
- databaseId- the value to set
- Returns:
- this builder
 
 - 
securityProtocolpublic MongoDbConnection.Builder securityProtocol(MongoDbConnection.SecurityProtocol securityProtocol) Security Protocol for MongoDB.- Parameters:
- securityProtocol- the value to set
- Returns:
- this builder
 
 - 
passwordSecretIdpublic 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
 
 - 
tlsCertificateKeyFileSecretIdpublic 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
 
 - 
tlsCertificateKeyFilePasswordSecretIdpublic 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
 
 - 
tlsCaFilepublic MongoDbConnection.Builder tlsCaFile(String tlsCaFile) Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).It is not included in GET responses if the view=COMPACT query parameter is specified. - Parameters:
- tlsCaFile- the value to set
- Returns:
- this builder
 
 - 
buildpublic MongoDbConnection build() 
 - 
copypublic MongoDbConnection.Builder copy(MongoDbConnection model) 
 
- 
 
-