Class MongoDbV2LinkedService

java.lang.Object
com.azure.analytics.synapse.artifacts.models.LinkedService
com.azure.analytics.synapse.artifacts.models.MongoDbV2LinkedService

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

    • MongoDbV2LinkedService

      public MongoDbV2LinkedService()
  • Method Details

    • 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.
    • setConnectVia

      public MongoDbV2LinkedService setConnectVia(IntegrationRuntimeReference connectVia)
      Set the connectVia property: The integration runtime reference.
      Overrides:
      setConnectVia in class LinkedService
      Parameters:
      connectVia - the connectVia value to set.
      Returns:
      the LinkedService 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.
    • setParameters

      public MongoDbV2LinkedService setParameters(Map<String,ParameterSpecification> parameters)
      Set the parameters property: Parameters for linked service.
      Overrides:
      setParameters in class LinkedService
      Parameters:
      parameters - the parameters 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.