Activity Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.Activity

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

ActivityOnInactiveMarkAs onInactiveMarkAs()

Get the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive.

ActivityState state()

Get the state property: Activity state.

String type()

Get the type property: Type of activity.

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 withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)

Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive.

Activity withState(ActivityState state)

Set the state property: Activity state.

Activity withUserProperties(List<UserProperty> userProperties)

Set the userProperties property: Activity user properties.

Methods inherited from java.lang.Object

Constructor Details

Activity

public Activity()

Creates an instance of Activity class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: A pipeline activity.

Returns:

the additionalProperties value.

dependsOn

public List dependsOn()

Get the dependsOn property: Activity depends on condition.

Returns:

the dependsOn value.

description

public String description()

Get the description property: Activity description.

Returns:

the description value.

name

public String name()

Get the name property: Activity name.

Returns:

the name value.

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:

the onInactiveMarkAs value.

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:

the state value.

type

public String type()

Get the type property: Type of activity.

Returns:

the type value.

userProperties

public List userProperties()

Get the userProperties property: Activity user properties.

Returns:

the userProperties value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public Activity withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: A pipeline activity.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the Activity object itself.

withDependsOn

public Activity withDependsOn(List dependsOn)

Set the dependsOn property: Activity depends on condition.

Parameters:

dependsOn - the dependsOn value to set.

Returns:

the Activity object itself.

withDescription

public Activity withDescription(String description)

Set the description property: Activity description.

Parameters:

description - the description value to set.

Returns:

the Activity object itself.

withName

public Activity withName(String name)

Set the name property: Activity name.

Parameters:

name - the name value to set.

Returns:

the Activity object itself.

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:

onInactiveMarkAs - the onInactiveMarkAs value to set.

Returns:

the Activity object itself.

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:

state - the state value to set.

Returns:

the Activity object itself.

withUserProperties

public Activity withUserProperties(List userProperties)

Set the userProperties property: Activity user properties.

Parameters:

userProperties - the userProperties value to set.

Returns:

the Activity object itself.

Applies to