SwitchActivityArgs

data class SwitchActivityArgs(val cases: Output<List<SwitchCaseArgs>>? = null, val defaultActivities: Output<List<Any>>? = null, val dependsOn: Output<List<ActivityDependencyArgs>>? = null, val description: Output<String>? = null, val name: Output<String>, val on: Output<ExpressionArgs>, val onInactiveMarkAs: Output<Either<String, ActivityOnInactiveMarkAs>>? = null, val state: Output<Either<String, ActivityState>>? = null, val type: Output<String>, val userProperties: Output<List<UserPropertyArgs>>? = null) : ConvertibleToJava<SwitchActivityArgs>

This activity evaluates an expression and executes activities under the cases property that correspond to the expression evaluation expected in the equals property.

Constructors

Link copied to clipboard
constructor(cases: Output<List<SwitchCaseArgs>>? = null, defaultActivities: Output<List<Any>>? = null, dependsOn: Output<List<ActivityDependencyArgs>>? = null, description: Output<String>? = null, name: Output<String>, on: Output<ExpressionArgs>, onInactiveMarkAs: Output<Either<String, ActivityOnInactiveMarkAs>>? = null, state: Output<Either<String, ActivityState>>? = null, type: Output<String>, userProperties: Output<List<UserPropertyArgs>>? = null)

Properties

Link copied to clipboard
val cases: Output<List<SwitchCaseArgs>>? = null

List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities.

Link copied to clipboard
val defaultActivities: Output<List<Any>>? = null

List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action.

Link copied to clipboard
val dependsOn: Output<List<ActivityDependencyArgs>>? = null

Activity depends on condition.

Link copied to clipboard
val description: Output<String>? = null

Activity description.

Link copied to clipboard
val name: Output<String>

Activity name.

Link copied to clipboard
val on: Output<ExpressionArgs>

An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed.

Link copied to clipboard
val onInactiveMarkAs: Output<Either<String, ActivityOnInactiveMarkAs>>? = null

Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.

Link copied to clipboard
val state: Output<Either<String, ActivityState>>? = null

Activity state. This is an optional property and if not provided, the state will be Active by default.

Link copied to clipboard
val type: Output<String>

Type of activity. Expected value is 'Switch'.

Link copied to clipboard
val userProperties: Output<List<UserPropertyArgs>>? = null

Activity user properties.

Functions

Link copied to clipboard
open override fun toJava(): SwitchActivityArgs