Class WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder
java.lang.Object
com.slack.api.methods.request.workflows.WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder
- Enclosing class:
- WorkflowsUpdateStepRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()inputs(Map<String, WorkflowStepInput> inputs) A JSON key-value map of inputs required from a user during configuration.inputsAsString(String inputsAsString) outputs(List<WorkflowStepOutput> outputs) A JSON array of output objects used during step execution.outputsAsString(String outputsAsString) stepImageUrl(String stepImageUrl) An optional field that can be used to override app image that is shown in the Workflow Builder.An optional field that can be used to override the step name that is shown in the Workflow Builder.Authentication token bearing required scopes.toString()workflowStepEditId(String workflowStepEditId) A context identifier provided with view_submission payloads used to call back to workflows.updateStep.
-
Method Details
-
token
Authentication token bearing required scopes.- Returns:
this.
-
workflowStepEditId
public WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder workflowStepEditId(String workflowStepEditId) A context identifier provided with view_submission payloads used to call back to workflows.updateStep.- Returns:
this.
-
inputs
public WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder inputs(Map<String, WorkflowStepInput> inputs) A JSON key-value map of inputs required from a user during configuration. This is the data your app expects to receive when the workflow step starts. Please note: the embedded variable format is set and replaced by the workflow system. You cannot create custom variables that will be replaced at runtime.- Returns:
this.
-
inputsAsString
public WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder inputsAsString(String inputsAsString) - Returns:
this.
-
outputs
public WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder outputs(List<WorkflowStepOutput> outputs) A JSON array of output objects used during step execution. This is the data your app agrees to provide when your workflow step was executed.- Returns:
this.
-
outputsAsString
public WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder outputsAsString(String outputsAsString) - Returns:
this.
-
stepImageUrl
public WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder stepImageUrl(String stepImageUrl) An optional field that can be used to override app image that is shown in the Workflow Builder.- Returns:
this.
-
stepName
An optional field that can be used to override the step name that is shown in the Workflow Builder.- Returns:
this.
-
build
-
toString
-