Class Activity
java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
- Direct Known Subclasses:
ControlActivity
,ExecuteWranglingDataflowActivity
,ExecutionActivity
A pipeline activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: A pipeline activity.Get the dependsOn property: Activity depends on condition.Get the description property: Activity description.name()
Get the name property: Activity name.Get the userProperties property: Activity user properties.void
validate()
Validates the instance.withAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: A pipeline activity.withDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.withDescription
(String description) Set the description property: Activity description.Set the name property: Activity name.withUserProperties
(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.
-
Constructor Details
-
Activity
public Activity()Creates an instance of Activity class.
-
-
Method Details
-
name
Get the name property: Activity name.- Returns:
- the name value.
-
withName
Set the name property: Activity name.- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
description
Get the description property: Activity description.- Returns:
- the description value.
-
withDescription
Set the description property: Activity description.- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
dependsOn
Get the dependsOn property: Activity depends on condition.- Returns:
- the dependsOn value.
-
withDependsOn
Set the dependsOn property: Activity depends on condition.- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
userProperties
Get the userProperties property: Activity user properties.- Returns:
- the userProperties value.
-
withUserProperties
Set the userProperties property: Activity user properties.- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
additionalProperties
Get the additionalProperties property: A pipeline activity.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: A pipeline activity.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the Activity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-