Class DeleteActivity


public final class DeleteActivity extends ExecutionActivity
Delete activity.
  • Constructor Details

    • DeleteActivity

      public DeleteActivity()
  • Method Details

    • withLinkedServiceName

      public DeleteActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
      Set the linkedServiceName property: Linked service reference.
      Overrides:
      withLinkedServiceName in class ExecutionActivity
      Parameters:
      linkedServiceName - the linkedServiceName value to set.
      Returns:
      the ExecutionActivity object itself.
    • withPolicy

      public DeleteActivity withPolicy(ActivityPolicy policy)
      Set the policy property: Activity policy.
      Overrides:
      withPolicy in class ExecutionActivity
      Parameters:
      policy - the policy value to set.
      Returns:
      the ExecutionActivity object itself.
    • withName

      public DeleteActivity withName(String name)
      Set the name property: Activity name.
      Overrides:
      withName in class ExecutionActivity
      Parameters:
      name - the name value to set.
      Returns:
      the Activity object itself.
    • withDescription

      public DeleteActivity withDescription(String description)
      Set the description property: Activity description.
      Overrides:
      withDescription in class ExecutionActivity
      Parameters:
      description - the description value to set.
      Returns:
      the Activity object itself.
    • withDependsOn

      public DeleteActivity withDependsOn(List<ActivityDependency> dependsOn)
      Set the dependsOn property: Activity depends on condition.
      Overrides:
      withDependsOn in class ExecutionActivity
      Parameters:
      dependsOn - the dependsOn value to set.
      Returns:
      the Activity object itself.
    • withUserProperties

      public DeleteActivity withUserProperties(List<UserProperty> userProperties)
      Set the userProperties property: Activity user properties.
      Overrides:
      withUserProperties in class ExecutionActivity
      Parameters:
      userProperties - the userProperties value to set.
      Returns:
      the Activity object itself.
    • recursive

      public Object recursive()
      Get the recursive property: If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean).
      Returns:
      the recursive value.
    • withRecursive

      public DeleteActivity withRecursive(Object recursive)
      Set the recursive property: If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean).
      Parameters:
      recursive - the recursive value to set.
      Returns:
      the DeleteActivity object itself.
    • maxConcurrentConnections

      public Integer maxConcurrentConnections()
      Get the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.
      Returns:
      the maxConcurrentConnections value.
    • withMaxConcurrentConnections

      public DeleteActivity withMaxConcurrentConnections(Integer maxConcurrentConnections)
      Set the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.
      Parameters:
      maxConcurrentConnections - the maxConcurrentConnections value to set.
      Returns:
      the DeleteActivity object itself.
    • enableLogging

      public Object enableLogging()
      Get the enableLogging property: Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean).
      Returns:
      the enableLogging value.
    • withEnableLogging

      public DeleteActivity withEnableLogging(Object enableLogging)
      Set the enableLogging property: Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean).
      Parameters:
      enableLogging - the enableLogging value to set.
      Returns:
      the DeleteActivity object itself.
    • logStorageSettings

      public LogStorageSettings logStorageSettings()
      Get the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.
      Returns:
      the logStorageSettings value.
    • withLogStorageSettings

      public DeleteActivity withLogStorageSettings(LogStorageSettings logStorageSettings)
      Set the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.
      Parameters:
      logStorageSettings - the logStorageSettings value to set.
      Returns:
      the DeleteActivity object itself.
    • dataset

      public DatasetReference dataset()
      Get the dataset property: Delete activity dataset reference.
      Returns:
      the dataset value.
    • withDataset

      public DeleteActivity withDataset(DatasetReference dataset)
      Set the dataset property: Delete activity dataset reference.
      Parameters:
      dataset - the dataset value to set.
      Returns:
      the DeleteActivity object itself.
    • storeSettings

      public StoreReadSettings storeSettings()
      Get the storeSettings property: Delete activity store settings.
      Returns:
      the storeSettings value.
    • withStoreSettings

      public DeleteActivity withStoreSettings(StoreReadSettings storeSettings)
      Set the storeSettings property: Delete activity store settings.
      Parameters:
      storeSettings - the storeSettings value to set.
      Returns:
      the DeleteActivity object itself.
    • validate

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