public static interface ExecutionResult.Builder extends SdkPojo, CopyableBuilder<ExecutionResult.Builder,ExecutionResult>
Modifier and Type | Method and Description |
---|---|
ExecutionResult.Builder |
bytesProcessed(Long bytesProcessed)
The total number of bytes processed by the flow run.
|
ExecutionResult.Builder |
bytesWritten(Long bytesWritten)
The total number of bytes written as a result of the flow run.
|
default ExecutionResult.Builder |
errorInfo(Consumer<ErrorInfo.Builder> errorInfo)
Provides any error message information related to the flow run.
|
ExecutionResult.Builder |
errorInfo(ErrorInfo errorInfo)
Provides any error message information related to the flow run.
|
ExecutionResult.Builder |
recordsProcessed(Long recordsProcessed)
The number of records processed in the flow run.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ExecutionResult.Builder errorInfo(ErrorInfo errorInfo)
Provides any error message information related to the flow run.
errorInfo
- Provides any error message information related to the flow run.default ExecutionResult.Builder errorInfo(Consumer<ErrorInfo.Builder> errorInfo)
Provides any error message information related to the flow run.
This is a convenience that creates an instance of theErrorInfo.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)
.errorInfo
- a consumer that will call methods on ErrorInfo.Builder
errorInfo(ErrorInfo)
ExecutionResult.Builder bytesProcessed(Long bytesProcessed)
The total number of bytes processed by the flow run.
bytesProcessed
- The total number of bytes processed by the flow run.ExecutionResult.Builder bytesWritten(Long bytesWritten)
The total number of bytes written as a result of the flow run.
bytesWritten
- The total number of bytes written as a result of the flow run.ExecutionResult.Builder recordsProcessed(Long recordsProcessed)
The number of records processed in the flow run.
recordsProcessed
- The number of records processed in the flow run.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.