SwitchCase Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. SwitchCase
- com.
Implements
public final class SwitchCase
implements JsonSerializable<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. |
|
static
Switch |
fromJson(JsonReader jsonReader)
Reads an instance of Switch |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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<Activity> activities()
Get the activities property: List of activities to execute for satisfied case condition.
Returns:
fromJson
public static SwitchCase fromJson(JsonReader jsonReader)
Reads an instance of SwitchCase from the JsonReader.
Parameters:
Returns:
Throws:
toJson
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<Activity> activities)
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: