Class CosmosDbDataConnectionProperties

java.lang.Object
com.azure.resourcemanager.kusto.fluent.models.CosmosDbDataConnectionProperties

public final class CosmosDbDataConnectionProperties extends Object
Class representing the Kusto CosmosDb data connection properties.
  • Constructor Details

    • CosmosDbDataConnectionProperties

      public CosmosDbDataConnectionProperties()
      Creates an instance of CosmosDbDataConnectionProperties class.
  • Method Details

    • tableName

      public String tableName()
      Get the tableName property: The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
      Returns:
      the tableName value.
    • withTableName

      public CosmosDbDataConnectionProperties withTableName(String tableName)
      Set the tableName property: The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
      Parameters:
      tableName - the tableName value to set.
      Returns:
      the CosmosDbDataConnectionProperties object itself.
    • mappingRuleName

      public String mappingRuleName()
      Get the mappingRuleName property: The name of an existing mapping rule to use when ingesting the retrieved data.
      Returns:
      the mappingRuleName value.
    • withMappingRuleName

      public CosmosDbDataConnectionProperties withMappingRuleName(String mappingRuleName)
      Set the mappingRuleName property: The name of an existing mapping rule to use when ingesting the retrieved data.
      Parameters:
      mappingRuleName - the mappingRuleName value to set.
      Returns:
      the CosmosDbDataConnectionProperties object itself.
    • managedIdentityResourceId

      public String managedIdentityResourceId()
      Get the managedIdentityResourceId property: The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
      Returns:
      the managedIdentityResourceId value.
    • withManagedIdentityResourceId

      public CosmosDbDataConnectionProperties withManagedIdentityResourceId(String managedIdentityResourceId)
      Set the managedIdentityResourceId property: The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
      Parameters:
      managedIdentityResourceId - the managedIdentityResourceId value to set.
      Returns:
      the CosmosDbDataConnectionProperties object itself.
    • managedIdentityObjectId

      public String managedIdentityObjectId()
      Get the managedIdentityObjectId property: The object ID of the managed identity resource.
      Returns:
      the managedIdentityObjectId value.
    • cosmosDbAccountResourceId

      public String cosmosDbAccountResourceId()
      Get the cosmosDbAccountResourceId property: The resource ID of the Cosmos DB account used to create the data connection.
      Returns:
      the cosmosDbAccountResourceId value.
    • withCosmosDbAccountResourceId

      public CosmosDbDataConnectionProperties withCosmosDbAccountResourceId(String cosmosDbAccountResourceId)
      Set the cosmosDbAccountResourceId property: The resource ID of the Cosmos DB account used to create the data connection.
      Parameters:
      cosmosDbAccountResourceId - the cosmosDbAccountResourceId value to set.
      Returns:
      the CosmosDbDataConnectionProperties object itself.
    • cosmosDbDatabase

      public String cosmosDbDatabase()
      Get the cosmosDbDatabase property: The name of an existing database in the Cosmos DB account.
      Returns:
      the cosmosDbDatabase value.
    • withCosmosDbDatabase

      public CosmosDbDataConnectionProperties withCosmosDbDatabase(String cosmosDbDatabase)
      Set the cosmosDbDatabase property: The name of an existing database in the Cosmos DB account.
      Parameters:
      cosmosDbDatabase - the cosmosDbDatabase value to set.
      Returns:
      the CosmosDbDataConnectionProperties object itself.
    • cosmosDbContainer

      public String cosmosDbContainer()
      Get the cosmosDbContainer property: The name of an existing container in the Cosmos DB database.
      Returns:
      the cosmosDbContainer value.
    • withCosmosDbContainer

      public CosmosDbDataConnectionProperties withCosmosDbContainer(String cosmosDbContainer)
      Set the cosmosDbContainer property: The name of an existing container in the Cosmos DB database.
      Parameters:
      cosmosDbContainer - the cosmosDbContainer value to set.
      Returns:
      the CosmosDbDataConnectionProperties object itself.
    • retrievalStartDate

      public OffsetDateTime retrievalStartDate()
      Get the retrievalStartDate property: Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
      Returns:
      the retrievalStartDate value.
    • withRetrievalStartDate

      public CosmosDbDataConnectionProperties withRetrievalStartDate(OffsetDateTime retrievalStartDate)
      Set the retrievalStartDate property: Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
      Parameters:
      retrievalStartDate - the retrievalStartDate value to set.
      Returns:
      the CosmosDbDataConnectionProperties object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioned state of the resource.
      Returns:
      the provisioningState value.
    • validate

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