Class MongoDbAtlasLinkedService

java.lang.Object
com.azure.resourcemanager.datafactory.models.LinkedService
com.azure.resourcemanager.datafactory.models.MongoDbAtlasLinkedService

public final class MongoDbAtlasLinkedService extends LinkedService
Linked service for MongoDB Atlas data source.
  • Constructor Details

    • MongoDbAtlasLinkedService

      public MongoDbAtlasLinkedService()
  • Method Details

    • withConnectVia

      public MongoDbAtlasLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
      Set the connectVia property: The integration runtime reference.
      Overrides:
      withConnectVia in class LinkedService
      Parameters:
      connectVia - the connectVia value to set.
      Returns:
      the LinkedService object itself.
    • withDescription

      public MongoDbAtlasLinkedService withDescription(String description)
      Set the description property: Linked service description.
      Overrides:
      withDescription in class LinkedService
      Parameters:
      description - the description value to set.
      Returns:
      the LinkedService object itself.
    • withParameters

      public MongoDbAtlasLinkedService withParameters(Map<String,ParameterSpecification> parameters)
      Set the parameters property: Parameters for linked service.
      Overrides:
      withParameters in class LinkedService
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the LinkedService object itself.
    • withAnnotations

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

      public Object 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

      public MongoDbAtlasLinkedService withConnectionString(Object connectionString)
      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 MongoDbAtlasLinkedService object itself.
    • database

      public Object 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

      public MongoDbAtlasLinkedService withDatabase(Object database)
      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 MongoDbAtlasLinkedService object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class LinkedService
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.