Interface GetFlowExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentRuntimeResponse.Builder
,Buildable
,CopyableBuilder<GetFlowExecutionResponse.Builder,
,GetFlowExecutionResponse> SdkBuilder<GetFlowExecutionResponse.Builder,
,GetFlowExecutionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFlowExecutionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the flow execution ended.errors
(Collection<FlowExecutionError> errors) A list of errors that occurred during the flow execution.errors
(Consumer<FlowExecutionError.Builder>... errors) A list of errors that occurred during the flow execution.errors
(FlowExecutionError... errors) A list of errors that occurred during the flow execution.executionArn
(String executionArn) The Amazon Resource Name (ARN) that uniquely identifies the flow execution.flowAliasIdentifier
(String flowAliasIdentifier) The unique identifier of the flow alias used for the execution.flowIdentifier
(String flowIdentifier) The unique identifier of the flow.flowVersion
(String flowVersion) The version of the flow used for the execution.The timestamp when the flow execution started.The current status of the flow execution.status
(FlowExecutionStatus status) The current status of the flow execution.Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
endedAt
The timestamp when the flow execution ended. This field is only populated when the execution has completed, failed, timed out, or been aborted.
- Parameters:
endedAt
- The timestamp when the flow execution ended. This field is only populated when the execution has completed, failed, timed out, or been aborted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors that occurred during the flow execution. Each error includes an error code, message, and the node where the error occurred, if applicable.
- Parameters:
errors
- A list of errors that occurred during the flow execution. Each error includes an error code, message, and the node where the error occurred, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors that occurred during the flow execution. Each error includes an error code, message, and the node where the error occurred, if applicable.
- Parameters:
errors
- A list of errors that occurred during the flow execution. Each error includes an error code, message, and the node where the error occurred, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors that occurred during the flow execution. Each error includes an error code, message, and the node where the error occurred, if applicable.
This is a convenience method that creates an instance of theFlowExecutionError.Builder
avoiding the need to create one manually viaFlowExecutionError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<FlowExecutionError>)
.- Parameters:
errors
- a consumer that will call methods onFlowExecutionError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionArn
The Amazon Resource Name (ARN) that uniquely identifies the flow execution.
- Parameters:
executionArn
- The Amazon Resource Name (ARN) that uniquely identifies the flow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowAliasIdentifier
The unique identifier of the flow alias used for the execution.
- Parameters:
flowAliasIdentifier
- The unique identifier of the flow alias used for the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowIdentifier
The unique identifier of the flow.
- Parameters:
flowIdentifier
- The unique identifier of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowVersion
The version of the flow used for the execution.
- Parameters:
flowVersion
- The version of the flow used for the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The timestamp when the flow execution started.
- Parameters:
startedAt
- The timestamp when the flow execution started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the flow execution.
Flow executions time out after 24 hours.
- Parameters:
status
- The current status of the flow execution.Flow executions time out after 24 hours.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the flow execution.
Flow executions time out after 24 hours.
- Parameters:
status
- The current status of the flow execution.Flow executions time out after 24 hours.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-