Class CosmosDbMongoDbApiLinkedServiceTypeProperties

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

public final class CosmosDbMongoDbApiLinkedServiceTypeProperties extends Object
CosmosDB (MongoDB API) linked service properties.
  • Constructor Details

    • CosmosDbMongoDbApiLinkedServiceTypeProperties

      public CosmosDbMongoDbApiLinkedServiceTypeProperties()
  • Method Details

    • isServerVersionAbove32

      public Object isServerVersionAbove32()
      Get the isServerVersionAbove32 property: Whether the CosmosDB (MongoDB API) server version is higher than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean).
      Returns:
      the isServerVersionAbove32 value.
    • withIsServerVersionAbove32

      public CosmosDbMongoDbApiLinkedServiceTypeProperties withIsServerVersionAbove32(Object isServerVersionAbove32)
      Set the isServerVersionAbove32 property: Whether the CosmosDB (MongoDB API) server version is higher than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean).
      Parameters:
      isServerVersionAbove32 - the isServerVersionAbove32 value to set.
      Returns:
      the CosmosDbMongoDbApiLinkedServiceTypeProperties object itself.
    • connectionString

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

      public CosmosDbMongoDbApiLinkedServiceTypeProperties withConnectionString(Object connectionString)
      Set the connectionString property: The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
      Parameters:
      connectionString - the connectionString value to set.
      Returns:
      the CosmosDbMongoDbApiLinkedServiceTypeProperties object itself.
    • database

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

      public CosmosDbMongoDbApiLinkedServiceTypeProperties withDatabase(Object database)
      Set the database property: The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string).
      Parameters:
      database - the database value to set.
      Returns:
      the CosmosDbMongoDbApiLinkedServiceTypeProperties object itself.
    • validate

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