SwitchCase Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.SwitchCase

public final class SwitchCase

Switch cases with have a value and corresponding activities.

Constructor Summary

Constructor Description
SwitchCase()

Creates an instance of SwitchCase class.

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.

SwitchCase withActivities(List<Activity> activities)

Set the activities property: List of activities to execute for satisfied case condition.

SwitchCase 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 activities()

Get the activities property: List of activities to execute for satisfied case condition.

Returns:

the activities value.

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:

the value value.

withActivities

public SwitchCase withActivities(List 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.

withValue

public SwitchCase withValue(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.

Applies to