Class ExecutionActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- Direct Known Subclasses:
AzureDataExplorerCommandActivity
,AzureFunctionActivity
,AzureMLBatchExecutionActivity
,AzureMLExecutePipelineActivity
,AzureMLUpdateResourceActivity
,CopyActivity
,CustomActivity
,DatabricksNotebookActivity
,DatabricksSparkJarActivity
,DatabricksSparkPythonActivity
,DataLakeAnalyticsUsqlActivity
,DeleteActivity
,ExecuteDataFlowActivity
,ExecuteSsisPackageActivity
,GetMetadataActivity
,HDInsightHiveActivity
,HDInsightMapReduceActivity
,HDInsightPigActivity
,HDInsightSparkActivity
,HDInsightStreamingActivity
,LookupActivity
,ScriptActivity
,SqlServerStoredProcedureActivity
,WebActivity
public class ExecutionActivity extends Activity
Base class for all execution activities.
-
-
Constructor Summary
Constructors Constructor Description ExecutionActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkedServiceReference
linkedServiceName()
Get the linkedServiceName property: Linked service reference.ActivityPolicy
policy()
Get the policy property: Activity policy.void
validate()
Validates the instance.ExecutionActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.ExecutionActivity
withDescription(String description)
Set the description property: Activity description.ExecutionActivity
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.ExecutionActivity
withName(String name)
Set the name property: Activity name.ExecutionActivity
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.ExecutionActivity
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
linkedServiceName
public LinkedServiceReference linkedServiceName()
Get the linkedServiceName property: Linked service reference.- Returns:
- the linkedServiceName value.
-
withLinkedServiceName
public ExecutionActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
policy
public ActivityPolicy policy()
Get the policy property: Activity policy.- Returns:
- the policy value.
-
withPolicy
public ExecutionActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
public ExecutionActivity withName(String name)
Set the name property: Activity name.
-
withDescription
public ExecutionActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescription
in classActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public ExecutionActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOn
in classActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public ExecutionActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserProperties
in classActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-