Interface ExecutionStepResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExecutionStepResult.Builder,ExecutionStepResult>,SdkBuilder<ExecutionStepResult.Builder,ExecutionStepResult>,SdkPojo
- Enclosing class:
- ExecutionStepResult
public static interface ExecutionStepResult.Builder extends SdkPojo, CopyableBuilder<ExecutionStepResult.Builder,ExecutionStepResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExecutionStepResult.Buildererror(Consumer<ExecutionError.Builder> error)Specifies the details for an error, if it occurred during execution of the specified workflow step.ExecutionStepResult.Buildererror(ExecutionError error)Specifies the details for an error, if it occurred during execution of the specified workflow step.ExecutionStepResult.Builderoutputs(String outputs)The values for the key/value pair applied as a tag to the file.ExecutionStepResult.BuilderstepType(String stepType)One of the available step types.ExecutionStepResult.BuilderstepType(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 Detail
-
stepType
ExecutionStepResult.Builder stepType(String 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:
WorkflowStepType,WorkflowStepType
-
-
stepType
ExecutionStepResult.Builder stepType(WorkflowStepType 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:
WorkflowStepType,WorkflowStepType
-
-
outputs
ExecutionStepResult.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.- 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
ExecutionStepResult.Builder error(ExecutionError 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
default ExecutionStepResult.Builder error(Consumer<ExecutionError.Builder> 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.Builderavoiding the need to create one manually viaExecutionError.builder().When the
Consumercompletes,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:
error(ExecutionError)
-
-