Class SwitchCase
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.SwitchCase
-
public final class SwitchCase extends Object
Switch cases with have a value and corresponding activities.
-
-
Constructor Summary
Constructors Constructor Description SwitchCase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Activity>
getActivities()
Get the activities property: List of activities to execute for satisfied case condition.String
getValue()
Get the value property: Expected value that satisfies the expression result of the 'on' property.SwitchCase
setActivities(List<Activity> activities)
Set the activities property: List of activities to execute for satisfied case condition.SwitchCase
setValue(String value)
Set the value property: Expected value that satisfies the expression result of the 'on' property.
-
-
-
Method Detail
-
getValue
public String getValue()
Get the value property: Expected value that satisfies the expression result of the 'on' property.- Returns:
- the value value.
-
setValue
public SwitchCase setValue(String value)
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.
-
getActivities
public List<Activity> getActivities()
Get the activities property: List of activities to execute for satisfied case condition.- Returns:
- the activities value.
-
setActivities
public SwitchCase setActivities(List<Activity> activities)
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.
-
-