Package com.oracle.bmc.goldengate.model
Class MongoDbConnection
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.goldengate.model.Connection
- 
- com.oracle.bmc.goldengate.model.MongoDbConnection
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class MongoDbConnection extends ConnectionRepresents the metadata of a MongoDB Connection.
 Note: Objects should always be created or deserialized using theMongoDbConnection.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theMongoDbConnection.Builder, which maintain a set of all explicitly set fields calledMongoDbConnection.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMongoDbConnection.Builderstatic classMongoDbConnection.SecurityProtocolSecurity Protocol for MongoDB.static classMongoDbConnection.TechnologyTypeThe MongoDB technology type.- 
Nested classes/interfaces inherited from class com.oracle.bmc.goldengate.model.ConnectionConnection.LifecycleState
 
- 
 - 
Constructor SummaryConstructors Constructor Description MongoDbConnection(String id, String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Connection.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, List<ResourceLock> locks, String vaultId, String keyId, List<IngressIpDetails> ingressIps, List<String> nsgIds, String subnetId, RoutingMethod routingMethod, Boolean doesUseSecretIds, String subscriptionId, String clusterPlacementGroupId, Map<String,Map<String,Object>> securityAttributes, MongoDbConnection.TechnologyType technologyType, String connectionString, String username, String databaseId, MongoDbConnection.SecurityProtocol securityProtocol, String passwordSecretId, String tlsCertificateKeyFileSecretId, String tlsCertificateKeyFilePasswordSecretId, String tlsCaFile)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MongoDbConnection.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetConnectionString()MongoDB connection string.StringgetDatabaseId()The OCID of the Oracle Autonomous Json Database.StringgetPasswordSecretId()The OCID of the Secret that stores the password Oracle GoldenGate uses to connect the associated database.MongoDbConnection.SecurityProtocolgetSecurityProtocol()Security Protocol for MongoDB.MongoDbConnection.TechnologyTypegetTechnologyType()The MongoDB technology type.StringgetTlsCaFile()Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).StringgetTlsCertificateKeyFilePasswordSecretId()The OCID of the Secret that stores the password of the tls certificate key file.StringgetTlsCertificateKeyFileSecretId()The OCID of the Secret that stores the certificate key file of the mtls connection.StringgetUsername()The username Oracle GoldenGate uses to connect to the database.inthashCode()MongoDbConnection.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.goldengate.model.ConnectiongetClusterPlacementGroupId, getCompartmentId, getDefinedTags, getDescription, getDisplayName, getDoesUseSecretIds, getFreeformTags, getId, getIngressIps, getKeyId, getLifecycleDetails, getLifecycleState, getLocks, getNsgIds, getRoutingMethod, getSecurityAttributes, getSubnetId, getSubscriptionId, getSystemTags, getTimeCreated, getTimeUpdated, getVaultId
 
- 
 
- 
- 
- 
Constructor Detail- 
MongoDbConnection@Deprecated public MongoDbConnection(String id, String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Connection.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, List<ResourceLock> locks, String vaultId, String keyId, List<IngressIpDetails> ingressIps, List<String> nsgIds, String subnetId, RoutingMethod routingMethod, Boolean doesUseSecretIds, String subscriptionId, String clusterPlacementGroupId, Map<String,Map<String,Object>> securityAttributes, MongoDbConnection.TechnologyType technologyType, String connectionString, String username, String databaseId, MongoDbConnection.SecurityProtocol securityProtocol, String passwordSecretId, String tlsCertificateKeyFileSecretId, String tlsCertificateKeyFilePasswordSecretId, String tlsCaFile) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static MongoDbConnection.Builder builder() Create a new builder.
 - 
toBuilderpublic MongoDbConnection.Builder toBuilder() 
 - 
getTechnologyTypepublic MongoDbConnection.TechnologyType getTechnologyType() The MongoDB technology type.- Returns:
- the value
 
 - 
getConnectionStringpublic String getConnectionString() MongoDB connection string.e.g.: ‘mongodb://mongodb0.example.com:27017/recordsrecords’ - Returns:
- the value
 
 - 
getUsernamepublic String getUsername() 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. - Returns:
- the value
 
 - 
getDatabaseIdpublic String getDatabaseId() The OCID of the Oracle Autonomous Json Database.- Returns:
- the value
 
 - 
getSecurityProtocolpublic MongoDbConnection.SecurityProtocol getSecurityProtocol() Security Protocol for MongoDB.- Returns:
- the value
 
 - 
getPasswordSecretIdpublic String getPasswordSecretId() 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. - Returns:
- the value
 
 - 
getTlsCertificateKeyFileSecretIdpublic String getTlsCertificateKeyFileSecretId() 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.
 - Returns:
- the value
 
 - 
getTlsCertificateKeyFilePasswordSecretIdpublic String getTlsCertificateKeyFilePasswordSecretId() The OCID of the Secret that stores the password of the tls certificate key file.Note: When provided, ‘tlsCertificateKeyFilePassword’ field must not be provided. - Returns:
- the value
 
 - 
getTlsCaFilepublic String getTlsCaFile() 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. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Connection
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- Connection
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- Connection
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- Connection
 
 
- 
 
-