Activity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity
- com.
Implements
public class Activity
implements JsonSerializable<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. |
| static Activity |
fromJson(JsonReader jsonReader)
Reads an instance of Activity from the Json |
| String |
name()
Get the name property: Activity name. |
|
Activity |
onInactiveMarkAs()
Get the on |
|
Activity |
state()
Get the state property: Activity state. |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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<String,Object> additionalProperties()
Get the additionalProperties property: A pipeline activity.
Returns:
dependsOn
public List<ActivityDependency> dependsOn()
Get the dependsOn property: Activity depends on condition.
Returns:
description
public String description()
Get the description property: Activity description.
Returns:
fromJson
public static Activity fromJson(JsonReader jsonReader)
Reads an instance of Activity from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
type
public String type()
Get the type property: Type of activity.
Returns:
userProperties
public List<UserProperty> userProperties()
Get the userProperties property: Activity user properties.
Returns:
validate
public void validate()
Validates the instance.
withAdditionalProperties
public Activity withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: A pipeline activity.
Parameters:
Returns:
withDependsOn
public Activity withDependsOn(List<ActivityDependency> dependsOn)
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<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Parameters:
Returns: