Class DeleteActivity
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.Activity
-
- com.azure.analytics.synapse.artifacts.models.ExecutionActivity
-
- com.azure.analytics.synapse.artifacts.models.DeleteActivity
-
public class DeleteActivity extends ExecutionActivity
Delete activity.
-
-
Constructor Summary
Constructors Constructor Description DeleteActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetReference
getDataset()
Get the dataset property: Delete activity dataset reference.Object
getEnableLogging()
Get the enableLogging property: Whether to record detailed logs of delete-activity execution.LogStorageSettings
getLogStorageSettings()
Get the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.Integer
getMaxConcurrentConnections()
Get the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.Object
getRecursive()
Get the recursive property: If true, files or sub-folders under current folder path will be deleted recursively.StoreReadSettings
getStoreSettings()
Get the storeSettings property: Delete activity store settings.DeleteActivity
setDataset(DatasetReference dataset)
Set the dataset property: Delete activity dataset reference.DeleteActivity
setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.DeleteActivity
setDescription(String description)
Set the description property: Activity description.DeleteActivity
setEnableLogging(Object enableLogging)
Set the enableLogging property: Whether to record detailed logs of delete-activity execution.DeleteActivity
setLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.DeleteActivity
setLogStorageSettings(LogStorageSettings logStorageSettings)
Set the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.DeleteActivity
setMaxConcurrentConnections(Integer maxConcurrentConnections)
Set the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.DeleteActivity
setName(String name)
Set the name property: Activity name.DeleteActivity
setPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.DeleteActivity
setRecursive(Object recursive)
Set the recursive property: If true, files or sub-folders under current folder path will be deleted recursively.DeleteActivity
setStoreSettings(StoreReadSettings storeSettings)
Set the storeSettings property: Delete activity store settings.DeleteActivity
setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.ExecutionActivity
getLinkedServiceName, getPolicy
-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.Activity
getAdditionalProperties, getDependsOn, getDescription, getName, getUserProperties, setAdditionalProperties
-
-
-
-
Method Detail
-
getRecursive
public Object getRecursive()
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.
-
setRecursive
public DeleteActivity setRecursive(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.
-
getMaxConcurrentConnections
public Integer getMaxConcurrentConnections()
Get the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.- Returns:
- the maxConcurrentConnections value.
-
setMaxConcurrentConnections
public DeleteActivity setMaxConcurrentConnections(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.
-
getEnableLogging
public Object getEnableLogging()
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.
-
setEnableLogging
public DeleteActivity setEnableLogging(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.
-
getLogStorageSettings
public LogStorageSettings getLogStorageSettings()
Get the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.- Returns:
- the logStorageSettings value.
-
setLogStorageSettings
public DeleteActivity setLogStorageSettings(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.
-
getDataset
public DatasetReference getDataset()
Get the dataset property: Delete activity dataset reference.- Returns:
- the dataset value.
-
setDataset
public DeleteActivity setDataset(DatasetReference dataset)
Set the dataset property: Delete activity dataset reference.- Parameters:
dataset
- the dataset value to set.- Returns:
- the DeleteActivity object itself.
-
getStoreSettings
public StoreReadSettings getStoreSettings()
Get the storeSettings property: Delete activity store settings.- Returns:
- the storeSettings value.
-
setStoreSettings
public DeleteActivity setStoreSettings(StoreReadSettings storeSettings)
Set the storeSettings property: Delete activity store settings.- Parameters:
storeSettings
- the storeSettings value to set.- Returns:
- the DeleteActivity object itself.
-
setLinkedServiceName
public DeleteActivity setLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
setLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
setPolicy
public DeleteActivity setPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.- Overrides:
setPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
setName
public DeleteActivity setName(String name)
Set the name property: Activity name.- Overrides:
setName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
setDescription
public DeleteActivity setDescription(String description)
Set the description property: Activity description.- Overrides:
setDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
setDependsOn
public DeleteActivity setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
setDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
setUserProperties
public DeleteActivity setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
setUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
-