Share via


ActivityDependency Class

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

Implements

public final class ActivityDependency
implements JsonSerializable<ActivityDependency>

Activity dependency information.

Constructor Summary

Constructor Description
ActivityDependency()

Creates an instance of ActivityDependency class.

Method Summary

Modifier and Type Method and Description
String activity()

Get the activity property: Activity name.

Map<String,Object> additionalProperties()

Get the additionalProperties property: Activity dependency information.

List<DependencyCondition> dependencyConditions()

Get the dependencyConditions property: Match-Condition for the dependency.

static ActivityDependency fromJson(JsonReader jsonReader)

Reads an instance of ActivityDependency from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActivityDependency withActivity(String activity)

Set the activity property: Activity name.

ActivityDependency withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Activity dependency information.

ActivityDependency withDependencyConditions(List<DependencyCondition> dependencyConditions)

Set the dependencyConditions property: Match-Condition for the dependency.

Methods inherited from java.lang.Object

Constructor Details

ActivityDependency

public ActivityDependency()

Creates an instance of ActivityDependency class.

Method Details

activity

public String activity()

Get the activity property: Activity name.

Returns:

the activity value.

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: Activity dependency information.

Returns:

the additionalProperties value.

dependencyConditions

public List<DependencyCondition> dependencyConditions()

Get the dependencyConditions property: Match-Condition for the dependency.

Returns:

the dependencyConditions value.

fromJson

public static ActivityDependency fromJson(JsonReader jsonReader)

Reads an instance of ActivityDependency from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ActivityDependency if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActivity

public ActivityDependency withActivity(String activity)

Set the activity property: Activity name.

Parameters:

activity - the activity value to set.

Returns:

the ActivityDependency object itself.

withAdditionalProperties

public ActivityDependency withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Activity dependency information.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the ActivityDependency object itself.

withDependencyConditions

public ActivityDependency withDependencyConditions(List<DependencyCondition> dependencyConditions)

Set the dependencyConditions property: Match-Condition for the dependency.

Parameters:

dependencyConditions - the dependencyConditions value to set.

Returns:

the ActivityDependency object itself.

Applies to