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 Expression
condition()
Get the condition property: Condition to be used for filtering the input.Expression
items()
Get the items property: Input array on which filter should be applied.void
validate()
Validates the instance.FilterActivity
withCondition(Expression condition)
Set the condition property: Condition to be used for filtering the input.FilterActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.FilterActivity
withDescription(String description)
Set the description property: Activity description.FilterActivity
withItems(Expression items)
Set the items property: Input array on which filter should be applied.FilterActivity
withName(String name)
Set the name property: Activity name.FilterActivity
withUserProperties(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:
withName
in 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:
withDescription
in 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:
withDependsOn
in 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:
withUserProperties
in 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:
validate
in classControlActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-