Class Activity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- Direct Known Subclasses:
ControlActivity
,ExecuteWranglingDataflowActivity
,ExecutionActivity
public class Activity extends Object
A pipeline activity.
-
-
Constructor Summary
Constructors Constructor Description Activity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: A pipeline activity.List<ActivityDependency>
dependsOn()
Get the dependsOn property: Activity depends on condition.String
description()
Get the description property: Activity description.String
name()
Get the name property: Activity name.List<UserProperty>
userProperties()
Get the userProperties property: Activity user properties.void
validate()
Validates the instance.Activity
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: A pipeline activity.Activity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.Activity
withDescription(String description)
Set the description property: Activity description.Activity
withName(String name)
Set the name property: Activity name.Activity
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Activity name.- Returns:
- the name value.
-
withName
public Activity withName(String name)
Set the name property: Activity name.- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
description
public String description()
Get the description property: Activity description.- Returns:
- the description value.
-
withDescription
public Activity withDescription(String description)
Set the description property: Activity description.- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
dependsOn
public List<ActivityDependency> dependsOn()
Get the dependsOn property: Activity depends on condition.- Returns:
- the dependsOn value.
-
withDependsOn
public Activity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
userProperties
public List<UserProperty> userProperties()
Get the userProperties property: Activity user properties.- Returns:
- the userProperties value.
-
withUserProperties
public Activity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: A pipeline activity.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public Activity withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-