Package com.slack.api.model.workflow
Class WorkflowStepInput.WorkflowStepInputBuilder
- java.lang.Object
-
- com.slack.api.model.workflow.WorkflowStepInput.WorkflowStepInputBuilder
-
- Enclosing class:
- WorkflowStepInput
public static class WorkflowStepInput.WorkflowStepInputBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowStepInputbuild()WorkflowStepInput.WorkflowStepInputBuilderskipVariableReplacement(Boolean skipVariableReplacement)Flag to specify if variables in value should be replaced.StringtoString()WorkflowStepInput.WorkflowStepInputBuildervalue(Object value)This is the input value.WorkflowStepInput.WorkflowStepInputBuildervariables(Map<String,Object> variables)A key-value map of variables to replace
-
-
-
Method Detail
-
value
public WorkflowStepInput.WorkflowStepInputBuilder value(Object value)
This is the input value. You can use {{variables}} which are included in the view_submission payload from a configuration modal. These variables refer to input from earlier workflow steps.- Returns:
this.
-
skipVariableReplacement
public WorkflowStepInput.WorkflowStepInputBuilder skipVariableReplacement(Boolean skipVariableReplacement)
Flag to specify if variables in value should be replaced. Default to true.- Returns:
this.
-
variables
public WorkflowStepInput.WorkflowStepInputBuilder variables(Map<String,Object> variables)
A key-value map of variables to replace- Returns:
this.
-
build
public WorkflowStepInput build()
-
-