Class MongoDbV2LinkedService


  • public class MongoDbV2LinkedService
    extends LinkedService
    Linked service for MongoDB data source.
    • Constructor Detail

      • MongoDbV2LinkedService

        public MongoDbV2LinkedService()
    • Method Detail

      • getConnectionString

        public Object getConnectionString()
        Get the connectionString property: The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
        Returns:
        the connectionString value.
      • setConnectionString

        public MongoDbV2LinkedService setConnectionString​(Object connectionString)
        Set the connectionString property: The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
        Parameters:
        connectionString - the connectionString value to set.
        Returns:
        the MongoDbV2LinkedService object itself.
      • getDatabase

        public Object getDatabase()
        Get the database property: The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).
        Returns:
        the database value.
      • setDatabase

        public MongoDbV2LinkedService setDatabase​(Object database)
        Set the database property: The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).
        Parameters:
        database - the database value to set.
        Returns:
        the MongoDbV2LinkedService object itself.
      • setDescription

        public MongoDbV2LinkedService setDescription​(String description)
        Set the description property: Linked service description.
        Overrides:
        setDescription in class LinkedService
        Parameters:
        description - the description value to set.
        Returns:
        the LinkedService object itself.
      • setAnnotations

        public MongoDbV2LinkedService setAnnotations​(List<Object> annotations)
        Set the annotations property: List of tags that can be used for describing the linked service.
        Overrides:
        setAnnotations in class LinkedService
        Parameters:
        annotations - the annotations value to set.
        Returns:
        the LinkedService object itself.