SwitchCase Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. SwitchCase
- com.
public final class SwitchCase
Switch cases with have a value and corresponding activities.
Constructor Summary
Constructor | Description |
---|---|
SwitchCase() |
Creates an instance of Switch |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Activity> |
activities()
Get the activities property: List of activities to execute for satisfied case condition. |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Expected value that satisfies the expression result of the 'on' property. |
Switch |
withActivities(List<Activity> activities)
Set the activities property: List of activities to execute for satisfied case condition. |
Switch |
withValue(String value)
Set the value property: Expected value that satisfies the expression result of the 'on' property. |
Methods inherited from java.lang.Object
Constructor Details
SwitchCase
public SwitchCase()
Creates an instance of SwitchCase class.
Method Details
activities
public List
Get the activities property: List of activities to execute for satisfied case condition.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Expected value that satisfies the expression result of the 'on' property.
Returns:
withActivities
public SwitchCase withActivities(List
Set the activities property: List of activities to execute for satisfied case condition.
Parameters:
Returns:
withValue
public SwitchCase withValue(String value)
Set the value property: Expected value that satisfies the expression result of the 'on' property.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for