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

public final class SwitchCase extends Object
Switch cases with have a value and corresponding activities.
  • Constructor Details

    • SwitchCase

      public SwitchCase()
      Creates an instance of SwitchCase class.
  • Method Details

    • value

      public String value()
      Get the value property: Expected value that satisfies the expression result of the 'on' property.
      Returns:
      the value value.
    • 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.
    • activities

      public List<Activity> activities()
      Get the activities property: List of activities to execute for satisfied case condition.
      Returns:
      the activities value.
    • withActivities

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

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.