Interface ExecutionResult.Builder

  • Method Details

    • errorInfo

      ExecutionResult.Builder errorInfo(ErrorInfo errorInfo)

      Provides any error message information related to the flow run.

      Parameters:
      errorInfo - Provides any error message information related to the flow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      default ExecutionResult.Builder errorInfo(Consumer<ErrorInfo.Builder> errorInfo)

      Provides any error message information related to the flow run.

      This is a convenience method that creates an instance of the ErrorInfo.Builder avoiding the need to create one manually via ErrorInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errorInfo(ErrorInfo).

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

      ExecutionResult.Builder bytesProcessed(Long bytesProcessed)

      The total number of bytes processed by the flow run.

      Parameters:
      bytesProcessed - The total number of bytes processed by the flow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bytesWritten

      ExecutionResult.Builder bytesWritten(Long bytesWritten)

      The total number of bytes written as a result of the flow run.

      Parameters:
      bytesWritten - The total number of bytes written as a result of the flow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordsProcessed

      ExecutionResult.Builder recordsProcessed(Long recordsProcessed)

      The number of records processed in the flow run.

      Parameters:
      recordsProcessed - The number of records processed in the flow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numParallelProcesses

      ExecutionResult.Builder numParallelProcesses(Long numParallelProcesses)

      The number of processes that Amazon AppFlow ran at the same time when it retrieved your data.

      Parameters:
      numParallelProcesses - The number of processes that Amazon AppFlow ran at the same time when it retrieved your data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxPageSize

      ExecutionResult.Builder maxPageSize(Long maxPageSize)

      The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application.

      Parameters:
      maxPageSize - The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.