Class IfConditionActivityTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.IfConditionActivityTypeProperties
IfCondition activity properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the expression property: An expression that would evaluate to Boolean.Get the ifFalseActivities property: List of activities to execute if expression is evaluated to false.Get the ifTrueActivities property: List of activities to execute if expression is evaluated to true.void
validate()
Validates the instance.withExpression
(Expression expression) Set the expression property: An expression that would evaluate to Boolean.withIfFalseActivities
(List<Activity> ifFalseActivities) Set the ifFalseActivities property: List of activities to execute if expression is evaluated to false.withIfTrueActivities
(List<Activity> ifTrueActivities) Set the ifTrueActivities property: List of activities to execute if expression is evaluated to true.
-
Constructor Details
-
IfConditionActivityTypeProperties
public IfConditionActivityTypeProperties()
-
-
Method Details
-
expression
Get the expression property: An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed.- Returns:
- the expression value.
-
withExpression
Set the expression property: An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed.- Parameters:
expression
- the expression value to set.- Returns:
- the IfConditionActivityTypeProperties object itself.
-
ifTrueActivities
Get the ifTrueActivities property: List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action.- Returns:
- the ifTrueActivities value.
-
withIfTrueActivities
Set the ifTrueActivities property: List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action.- Parameters:
ifTrueActivities
- the ifTrueActivities value to set.- Returns:
- the IfConditionActivityTypeProperties object itself.
-
ifFalseActivities
Get the ifFalseActivities property: List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action.- Returns:
- the ifFalseActivities value.
-
withIfFalseActivities
Set the ifFalseActivities property: List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action.- Parameters:
ifFalseActivities
- the ifFalseActivities value to set.- Returns:
- the IfConditionActivityTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-