public static class UpdateMongoDbConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateMongoDbConnectionDetails.Builder displayName(String displayName)
public UpdateMongoDbConnectionDetails.Builder description(String description)
public UpdateMongoDbConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public UpdateMongoDbConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public UpdateMongoDbConnectionDetails.Builder vaultId(String vaultId)
public UpdateMongoDbConnectionDetails.Builder keyId(String keyId)
public UpdateMongoDbConnectionDetails.Builder nsgIds(List<String> nsgIds)
public UpdateMongoDbConnectionDetails.Builder subnetId(String subnetId)
public UpdateMongoDbConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
public UpdateMongoDbConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public UpdateMongoDbConnectionDetails.Builder connectionString(String connectionString)
MongoDB connection string. e.g.: ‘mongodb://mongodb0.example.com:27017/recordsrecords’
connectionString
- the value to setpublic UpdateMongoDbConnectionDetails.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.
username
- the value to setpublic UpdateMongoDbConnectionDetails.Builder password(String password)
The password Oracle GoldenGate uses to connect the associated database. Deprecated: This field is deprecated and replaced by “passwordSecretId”. This field will be removed after February 15 2026.
password
- the value to setpublic UpdateMongoDbConnectionDetails.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.
passwordSecretId
- the value to setpublic UpdateMongoDbConnectionDetails.Builder databaseId(String databaseId)
The OCID of the Oracle Autonomous Json Database.
databaseId
- the value to setpublic UpdateMongoDbConnectionDetails.Builder securityProtocol(MongoDbConnection.SecurityProtocol securityProtocol)
Security Type for MongoDB.
securityProtocol
- the value to setpublic UpdateMongoDbConnectionDetails.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).
tlsCaFile
- the value to setpublic UpdateMongoDbConnectionDetails.Builder tlsCertificateKeyFile(String tlsCertificateKeyFile)
Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL). Deprecated: This field is deprecated and replaced by “tlsCertificateKeyFileSecretId”. This field will be removed after February 15 2026.
tlsCertificateKeyFile
- the value to setpublic UpdateMongoDbConnectionDetails.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.
tlsCertificateKeyFileSecretId
- the value to setpublic UpdateMongoDbConnectionDetails.Builder tlsCertificateKeyFilePassword(String tlsCertificateKeyFilePassword)
Client Certificate key file password. Deprecated: This field is deprecated and replaced by “tlsCertificateKeyFilePasswordSecretId”. This field will be removed after February 15 2026.
tlsCertificateKeyFilePassword
- the value to setpublic UpdateMongoDbConnectionDetails.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.
tlsCertificateKeyFilePasswordSecretId
- the value to setpublic UpdateMongoDbConnectionDetails build()
public UpdateMongoDbConnectionDetails.Builder copy(UpdateMongoDbConnectionDetails model)
Copyright © 2016–2025. All rights reserved.