Interface ExecutionStepResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExecutionStepResult.Builder,
,ExecutionStepResult> SdkBuilder<ExecutionStepResult.Builder,
,ExecutionStepResult> SdkPojo
- Enclosing class:
ExecutionStepResult
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExecutionStepResult.Builder
error
(Consumer<ExecutionError.Builder> error) Specifies the details for an error, if it occurred during execution of the specified workflow step.error
(ExecutionError error) Specifies the details for an error, if it occurred during execution of the specified workflow step.The values for the key/value pair applied as a tag to the file.One of the available step types.stepType
(WorkflowStepType stepType) One of the available step types.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
stepType
One of the available step types.
-
COPY
- Copy the file to another location. -
CUSTOM
- Perform a custom step with an Lambda function target. -
DECRYPT
- Decrypt a file that was encrypted before it was uploaded. -
DELETE
- Delete the file. -
TAG
- Add a tag to the file.
- Parameters:
stepType
- One of the available step types.-
COPY
- Copy the file to another location. -
CUSTOM
- Perform a custom step with an Lambda function target. -
DECRYPT
- Decrypt a file that was encrypted before it was uploaded. -
DELETE
- Delete the file. -
TAG
- Add a tag to the file.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
stepType
One of the available step types.
-
COPY
- Copy the file to another location. -
CUSTOM
- Perform a custom step with an Lambda function target. -
DECRYPT
- Decrypt a file that was encrypted before it was uploaded. -
DELETE
- Delete the file. -
TAG
- Add a tag to the file.
- Parameters:
stepType
- One of the available step types.-
COPY
- Copy the file to another location. -
CUSTOM
- Perform a custom step with an Lambda function target. -
DECRYPT
- Decrypt a file that was encrypted before it was uploaded. -
DELETE
- Delete the file. -
TAG
- Add a tag to the file.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
outputs
The values for the key/value pair applied as a tag to the file. Only applicable if the step type is
TAG
.- Parameters:
outputs
- The values for the key/value pair applied as a tag to the file. Only applicable if the step type isTAG
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Specifies the details for an error, if it occurred during execution of the specified workflow step.
- Parameters:
error
- Specifies the details for an error, if it occurred during execution of the specified workflow step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Specifies the details for an error, if it occurred during execution of the specified workflow step.
This is a convenience method that creates an instance of theExecutionError.Builder
avoiding the need to create one manually viaExecutionError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(ExecutionError)
.- Parameters:
error
- a consumer that will call methods onExecutionError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-