Class FilterActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ControlActivity
-
- com.azure.resourcemanager.datafactory.models.FilterActivity
-
public final class FilterActivity extends ControlActivity
Filter and return results from input array based on the conditions.
-
-
Constructor Summary
Constructors Constructor Description FilterActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expressioncondition()Get the condition property: Condition to be used for filtering the input.Expressionitems()Get the items property: Input array on which filter should be applied.voidvalidate()Validates the instance.FilterActivitywithCondition(Expression condition)Set the condition property: Condition to be used for filtering the input.FilterActivitywithDependsOn(List<ActivityDependency> dependsOn)Set the dependsOn property: Activity depends on condition.FilterActivitywithDescription(String description)Set the description property: Activity description.FilterActivitywithItems(Expression items)Set the items property: Input array on which filter should be applied.FilterActivitywithName(String name)Set the name property: Activity name.FilterActivitywithUserProperties(List<UserProperty> userProperties)Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
withName
public FilterActivity withName(String name)
Set the name property: Activity name.- Overrides:
withNamein classControlActivity- Parameters:
name- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
public FilterActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescriptionin classControlActivity- Parameters:
description- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public FilterActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOnin classControlActivity- Parameters:
dependsOn- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public FilterActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserPropertiesin classControlActivity- Parameters:
userProperties- the userProperties value to set.- Returns:
- the Activity object itself.
-
items
public Expression items()
Get the items property: Input array on which filter should be applied.- Returns:
- the items value.
-
withItems
public FilterActivity withItems(Expression items)
Set the items property: Input array on which filter should be applied.- Parameters:
items- the items value to set.- Returns:
- the FilterActivity object itself.
-
condition
public Expression condition()
Get the condition property: Condition to be used for filtering the input.- Returns:
- the condition value.
-
withCondition
public FilterActivity withCondition(Expression condition)
Set the condition property: Condition to be used for filtering the input.- Parameters:
condition- the condition value to set.- Returns:
- the FilterActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classControlActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-