Class DeleteActivity
java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
com.azure.resourcemanager.datafactory.models.ExecutionActivity
com.azure.resourcemanager.datafactory.models.DeleteActivity
Delete activity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondataset()Get the dataset property: Delete activity dataset reference.Get the enableLogging property: Whether to record detailed logs of delete-activity execution.Get the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.Get the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.Get the recursive property: If true, files or sub-folders under current folder path will be deleted recursively.Get the storeSettings property: Delete activity store settings.voidvalidate()Validates the instance.withDataset(DatasetReference dataset) Set the dataset property: Delete activity dataset reference.withDependsOn(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.withDescription(String description) Set the description property: Activity description.withEnableLogging(Object enableLogging) Set the enableLogging property: Whether to record detailed logs of delete-activity execution.withLinkedServiceName(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.withLogStorageSettings(LogStorageSettings logStorageSettings) Set the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.withMaxConcurrentConnections(Integer maxConcurrentConnections) Set the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.Set the name property: Activity name.withPolicy(ActivityPolicy policy) Set the policy property: Activity policy.withRecursive(Object recursive) Set the recursive property: If true, files or sub-folders under current folder path will be deleted recursively.withStoreSettings(StoreReadSettings storeSettings) Set the storeSettings property: Delete activity store settings.withUserProperties(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policyMethods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
Constructor Details
-
DeleteActivity
public DeleteActivity()Creates an instance of DeleteActivity class.
-
-
Method Details
-
withLinkedServiceName
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceNamein classExecutionActivity- Parameters:
linkedServiceName- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
Set the policy property: Activity policy.- Overrides:
withPolicyin classExecutionActivity- Parameters:
policy- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
Set the name property: Activity name.- Overrides:
withNamein classExecutionActivity- Parameters:
name- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
Set the description property: Activity description.- Overrides:
withDescriptionin classExecutionActivity- Parameters:
description- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOnin classExecutionActivity- Parameters:
dependsOn- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
Set the userProperties property: Activity user properties.- Overrides:
withUserPropertiesin classExecutionActivity- Parameters:
userProperties- the userProperties value to set.- Returns:
- the Activity object itself.
-
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
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
Get the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.- Returns:
- the maxConcurrentConnections value.
-
withMaxConcurrentConnections
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
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
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
Get the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.- Returns:
- the logStorageSettings value.
-
withLogStorageSettings
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
Get the dataset property: Delete activity dataset reference.- Returns:
- the dataset value.
-
withDataset
Set the dataset property: Delete activity dataset reference.- Parameters:
dataset- the dataset value to set.- Returns:
- the DeleteActivity object itself.
-
storeSettings
Get the storeSettings property: Delete activity store settings.- Returns:
- the storeSettings value.
-
withStoreSettings
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:
validatein classExecutionActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-