Class MongoDbAtlasLinkedServiceTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.MongoDbAtlasLinkedServiceTypeProperties
MongoDB Atlas linked service properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionString property: The MongoDB Atlas connection string.database()
Get the database property: The name of the MongoDB Atlas database that you want to access.void
validate()
Validates the instance.withConnectionString
(Object connectionString) Set the connectionString property: The MongoDB Atlas connection string.withDatabase
(Object database) Set the database property: The name of the MongoDB Atlas database that you want to access.
-
Constructor Details
-
MongoDbAtlasLinkedServiceTypeProperties
public MongoDbAtlasLinkedServiceTypeProperties()
-
-
Method Details
-
connectionString
Get the connectionString property: The MongoDB Atlas connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
withConnectionString
Set the connectionString property: The MongoDB Atlas connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the MongoDbAtlasLinkedServiceTypeProperties object itself.
-
database
Get the database property: The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string).- Returns:
- the database value.
-
withDatabase
Set the database property: The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string).- Parameters:
database
- the database value to set.- Returns:
- the MongoDbAtlasLinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-