Activity Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. Activity
- com.
public class Activity
A pipeline activity.
Constructor Summary
Constructor | Description |
---|---|
Activity() |
Creates an instance of Activity class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties()
Get the additional |
List<Activity |
getDependsOn()
Get the depends |
String |
getDescription()
Get the description property: Activity description. |
String |
getName()
Get the name property: Activity name. |
Activity |
getOnInactiveMarkAs()
Get the on |
Activity |
getState()
Get the state property: Activity state. |
List<User |
getUserProperties()
Get the user |
Activity |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Activity |
setDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
Activity |
setDescription(String description)
Set the description property: Activity description. |
Activity |
setName(String name)
Set the name property: Activity name. |
Activity |
setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
Activity |
setState(ActivityState state)
Set the state property: Activity state. |
Activity |
setUserProperties(List<UserProperty> userProperties)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
Activity
public Activity()
Creates an instance of Activity class.
Method Details
getAdditionalProperties
public Map
Get the additionalProperties property: A pipeline activity.
Returns:
getDependsOn
public List
Get the dependsOn property: Activity depends on condition.
Returns:
getDescription
public String getDescription()
Get the description property: Activity description.
Returns:
getName
public String getName()
Get the name property: Activity name.
Returns:
getOnInactiveMarkAs
public ActivityOnInactiveMarkAs getOnInactiveMarkAs()
Get the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Returns:
getState
public ActivityState getState()
Get the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Returns:
getUserProperties
public List
Get the userProperties property: Activity user properties.
Returns:
setAdditionalProperties
public Activity setAdditionalProperties(Map
Set the additionalProperties property: A pipeline activity.
Parameters:
Returns:
setDependsOn
public Activity setDependsOn(List
Set the dependsOn property: Activity depends on condition.
Parameters:
Returns:
setDescription
public Activity setDescription(String description)
Set the description property: Activity description.
Parameters:
Returns:
setName
public Activity setName(String name)
Set the name property: Activity name.
Parameters:
Returns:
setOnInactiveMarkAs
public Activity setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Parameters:
Returns:
setState
public Activity setState(ActivityState state)
Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Parameters:
Returns:
setUserProperties
public Activity setUserProperties(List
Set the userProperties property: Activity user properties.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for