Interface ExecutionStepResult.Builder

  • Method Details

    • 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:
    • 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 is TAG.
      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 the ExecutionError.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).

      Parameters:
      error - a consumer that will call methods on ExecutionError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: