Class SwitchCase
java.lang.Object
com.azure.resourcemanager.datafactory.models.SwitchCase
Switch cases with have a value and corresponding activities.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the activities property: List of activities to execute for satisfied case condition.void
validate()
Validates the instance.value()
Get the value property: Expected value that satisfies the expression result of the 'on' property.withActivities
(List<Activity> activities) Set the activities property: List of activities to execute for satisfied case condition.Set the value property: Expected value that satisfies the expression result of the 'on' property.
-
Constructor Details
-
SwitchCase
public SwitchCase()Creates an instance of SwitchCase class.
-
-
Method Details
-
value
Get the value property: Expected value that satisfies the expression result of the 'on' property.- Returns:
- the value value.
-
withValue
Set the value property: Expected value that satisfies the expression result of the 'on' property.- Parameters:
value
- the value value to set.- Returns:
- the SwitchCase object itself.
-
activities
Get the activities property: List of activities to execute for satisfied case condition.- Returns:
- the activities value.
-
withActivities
Set the activities property: List of activities to execute for satisfied case condition.- Parameters:
activities
- the activities value to set.- Returns:
- the SwitchCase object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-