Class MongoDbV2LinkedServiceTypeProperties

java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.MongoDbV2LinkedServiceTypeProperties

public final class MongoDbV2LinkedServiceTypeProperties extends Object
MongoDB linked service properties.
  • Constructor Details

    • MongoDbV2LinkedServiceTypeProperties

      public MongoDbV2LinkedServiceTypeProperties()
  • Method Details

    • connectionString

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

      public MongoDbV2LinkedServiceTypeProperties withConnectionString(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 MongoDbV2LinkedServiceTypeProperties object itself.
    • database

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

      public MongoDbV2LinkedServiceTypeProperties withDatabase(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 MongoDbV2LinkedServiceTypeProperties object itself.
    • validate

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