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
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 Details
-
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
A key-value map of variables to replace- Returns:
this.
-
build
-
toString
-