Activity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. 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> |
additionalProperties()
Get the additional |
List<Activity |
dependsOn()
Get the depends |
String |
description()
Get the description property: Activity description. |
String |
name()
Get the name property: Activity name. |
Activity |
onInactiveMarkAs()
Get the on |
Activity |
state()
Get the state property: Activity state. |
String |
type()
Get the type property: Type of activity. |
List<User |
userProperties()
Get the user |
void |
validate()
Validates the instance. |
Activity |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Activity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
Activity |
withDescription(String description)
Set the description property: Activity description. |
Activity |
withName(String name)
Set the name property: Activity name. |
Activity |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
Activity |
withState(ActivityState state)
Set the state property: Activity state. |
Activity |
withUserProperties(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
additionalProperties
public Map
Get the additionalProperties property: A pipeline activity.
Returns:
dependsOn
public List
Get the dependsOn property: Activity depends on condition.
Returns:
description
public String description()
Get the description property: Activity description.
Returns:
name
public String name()
Get the name property: Activity name.
Returns:
onInactiveMarkAs
public ActivityOnInactiveMarkAs onInactiveMarkAs()
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:
state
public ActivityState state()
Get the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Returns:
type
public String type()
Get the type property: Type of activity.
Returns:
userProperties
public List
Get the userProperties property: Activity user properties.
Returns:
validate
public void validate()
Validates the instance.
withAdditionalProperties
public Activity withAdditionalProperties(Map
Set the additionalProperties property: A pipeline activity.
Parameters:
Returns:
withDependsOn
public Activity withDependsOn(List
Set the dependsOn property: Activity depends on condition.
Parameters:
Returns:
withDescription
public Activity withDescription(String description)
Set the description property: Activity description.
Parameters:
Returns:
withName
public Activity withName(String name)
Set the name property: Activity name.
Parameters:
Returns:
withOnInactiveMarkAs
public Activity withOnInactiveMarkAs(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:
withState
public Activity withState(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:
withUserProperties
public Activity withUserProperties(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