public static class CreateMongoDbConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateMongoDbConnectionDetails.Builder displayName(String displayName)
public CreateMongoDbConnectionDetails.Builder description(String description)
public CreateMongoDbConnectionDetails.Builder compartmentId(String compartmentId)
public CreateMongoDbConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public CreateMongoDbConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateMongoDbConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
public CreateMongoDbConnectionDetails.Builder vaultId(String vaultId)
public CreateMongoDbConnectionDetails.Builder keyId(String keyId)
public CreateMongoDbConnectionDetails.Builder nsgIds(List<String> nsgIds)
public CreateMongoDbConnectionDetails.Builder subnetId(String subnetId)
public CreateMongoDbConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
public CreateMongoDbConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public CreateMongoDbConnectionDetails.Builder technologyType(MongoDbConnection.TechnologyType technologyType)
The MongoDB technology type.
technologyType
- the value to setpublic CreateMongoDbConnectionDetails.Builder connectionString(String connectionString)
MongoDB connection string. e.g.: ‘mongodb://mongodb0.example.com:27017/recordsrecords’
connectionString
- the value to setpublic CreateMongoDbConnectionDetails.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 CreateMongoDbConnectionDetails.Builder password(String password)
The password Oracle GoldenGate uses to connect the associated database.
password
- the value to setpublic CreateMongoDbConnectionDetails.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 CreateMongoDbConnectionDetails.Builder databaseId(String databaseId)
The OCID of the Oracle Autonomous Json Database.
databaseId
- the value to setpublic CreateMongoDbConnectionDetails build()
public CreateMongoDbConnectionDetails.Builder copy(CreateMongoDbConnectionDetails model)
Copyright © 2016–2024. All rights reserved.