Class WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.workflows.WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder
-
- Enclosing class:
- WorkflowsUpdateStepRequest
public static class WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
token
public WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder token(String 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
public WorkflowsUpdateStepRequest.WorkflowsUpdateStepRequestBuilder stepName(String stepName)
An optional field that can be used to override the step name that is shown in the Workflow Builder.- Returns:
this
.
-
build
public WorkflowsUpdateStepRequest build()
-
-