java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
Direct Known Subclasses:
ControlActivity, ExecuteWranglingDataflowActivity, ExecutionActivity

public class Activity extends Object
A pipeline activity.
  • Constructor Details

    • Activity

      public Activity()
      Creates an instance of Activity class.
  • Method Details

    • 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.