Interface GetFlowExecutionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentRuntimeResponse.Builder,Buildable,CopyableBuilder<GetFlowExecutionResponse.Builder,GetFlowExecutionResponse>,SdkBuilder<GetFlowExecutionResponse.Builder,GetFlowExecutionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFlowExecutionResponse
@Mutable @NotThreadSafe public static interface GetFlowExecutionResponse.Builder extends BedrockAgentRuntimeResponse.Builder, SdkPojo, CopyableBuilder<GetFlowExecutionResponse.Builder,GetFlowExecutionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetFlowExecutionResponse.BuilderendedAt(Instant endedAt)The timestamp when the flow execution ended.GetFlowExecutionResponse.Buildererrors(Collection<FlowExecutionError> errors)A list of errors that occurred during the flow execution.GetFlowExecutionResponse.Buildererrors(Consumer<FlowExecutionError.Builder>... errors)A list of errors that occurred during the flow execution.GetFlowExecutionResponse.Buildererrors(FlowExecutionError... errors)A list of errors that occurred during the flow execution.GetFlowExecutionResponse.BuilderexecutionArn(String executionArn)The Amazon Resource Name (ARN) that uniquely identifies the flow execution.GetFlowExecutionResponse.BuilderflowAliasIdentifier(String flowAliasIdentifier)The unique identifier of the flow alias used for the execution.GetFlowExecutionResponse.BuilderflowIdentifier(String flowIdentifier)The unique identifier of the flow.GetFlowExecutionResponse.BuilderflowVersion(String flowVersion)The version of the flow used for the execution.GetFlowExecutionResponse.BuilderstartedAt(Instant startedAt)The timestamp when the flow execution started.GetFlowExecutionResponse.Builderstatus(String status)The current status of the flow execution.GetFlowExecutionResponse.Builderstatus(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 Detail
-
endedAt
GetFlowExecutionResponse.Builder endedAt(Instant 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
GetFlowExecutionResponse.Builder errors(Collection<FlowExecutionError> 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
GetFlowExecutionResponse.Builder errors(FlowExecutionError... 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
GetFlowExecutionResponse.Builder errors(Consumer<FlowExecutionError.Builder>... 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.Builderavoiding the need to create one manually viaFlowExecutionError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
executionArn
GetFlowExecutionResponse.Builder executionArn(String 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
GetFlowExecutionResponse.Builder flowAliasIdentifier(String 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
GetFlowExecutionResponse.Builder flowIdentifier(String 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
GetFlowExecutionResponse.Builder flowVersion(String 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
GetFlowExecutionResponse.Builder startedAt(Instant 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
GetFlowExecutionResponse.Builder status(String 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:
FlowExecutionStatus,FlowExecutionStatus
-
status
GetFlowExecutionResponse.Builder status(FlowExecutionStatus 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:
FlowExecutionStatus,FlowExecutionStatus
-
-