public static interface ExecutionStepResult.Builder extends SdkPojo, CopyableBuilder<ExecutionStepResult.Builder,ExecutionStepResult>
| Modifier and Type | Method and Description |
|---|---|
default ExecutionStepResult.Builder |
error(Consumer<ExecutionError.Builder> error)
Specifies the details for an error, if it occurred during execution of the specified workfow step.
|
ExecutionStepResult.Builder |
error(ExecutionError error)
Specifies the details for an error, if it occurred during execution of the specified workfow step.
|
ExecutionStepResult.Builder |
outputs(String outputs)
The values for the key/value pair applied as a tag to the file.
|
ExecutionStepResult.Builder |
stepType(String stepType)
One of the available step types.
|
ExecutionStepResult.Builder |
stepType(WorkflowStepType stepType)
One of the available step types.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExecutionStepResult.Builder stepType(String stepType)
One of the available step types.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
stepType - One of the available step types.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
WorkflowStepType,
WorkflowStepTypeExecutionStepResult.Builder stepType(WorkflowStepType stepType)
One of the available step types.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
stepType - One of the available step types.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
WorkflowStepType,
WorkflowStepTypeExecutionStepResult.Builder outputs(String outputs)
The values for the key/value pair applied as a tag to the file. Only applicable if the step type is
TAG.
outputs - The values for the key/value pair applied as a tag to the file. Only applicable if the step type is
TAG.ExecutionStepResult.Builder error(ExecutionError error)
Specifies the details for an error, if it occurred during execution of the specified workfow step.
error - Specifies the details for an error, if it occurred during execution of the specified workfow step.default ExecutionStepResult.Builder error(Consumer<ExecutionError.Builder> error)
Specifies the details for an error, if it occurred during execution of the specified workfow step.
This is a convenience method that creates an instance of theExecutionError.Builder avoiding the need
to create one manually via ExecutionError.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to error(ExecutionError).error - a consumer that will call methods on ExecutionError.Buildererror(ExecutionError)Copyright © 2022. All rights reserved.