Class ControlActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ControlActivity
-
- Direct Known Subclasses:
AppendVariableActivity
,ExecutePipelineActivity
,FailActivity
,FilterActivity
,ForEachActivity
,IfConditionActivity
,SetVariableActivity
,SwitchActivity
,UntilActivity
,ValidationActivity
,WaitActivity
,WebhookActivity
public class ControlActivity extends Activity
Base class for all control activities like IfCondition, ForEach , Until.
-
-
Constructor Summary
Constructors Constructor Description ControlActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.ControlActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.ControlActivity
withDescription(String description)
Set the description property: Activity description.ControlActivity
withName(String name)
Set the name property: Activity name.ControlActivity
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
-
withName
public ControlActivity withName(String name)
Set the name property: Activity name.
-
withDescription
public ControlActivity 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 ControlActivity 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 ControlActivity 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.
-
-