Interface ListFlowExecutionEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentRuntimeResponse.Builder,Buildable,CopyableBuilder<ListFlowExecutionEventsResponse.Builder,,ListFlowExecutionEventsResponse> SdkBuilder<ListFlowExecutionEventsResponse.Builder,,ListFlowExecutionEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFlowExecutionEventsResponse
-
Method Summary
Modifier and TypeMethodDescriptionflowExecutionEvents(Collection<FlowExecutionEvent> flowExecutionEvents) A list of events that occurred during the flow execution.flowExecutionEvents(Consumer<FlowExecutionEvent.Builder>... flowExecutionEvents) A list of events that occurred during the flow execution.flowExecutionEvents(FlowExecutionEvent... flowExecutionEvents) A list of events that occurred during the flow execution.A token to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
flowExecutionEvents
ListFlowExecutionEventsResponse.Builder flowExecutionEvents(Collection<FlowExecutionEvent> flowExecutionEvents) A list of events that occurred during the flow execution. Events can include node inputs and outputs, flow inputs and outputs, condition results, and failure events.
- Parameters:
flowExecutionEvents- A list of events that occurred during the flow execution. Events can include node inputs and outputs, flow inputs and outputs, condition results, and failure events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowExecutionEvents
ListFlowExecutionEventsResponse.Builder flowExecutionEvents(FlowExecutionEvent... flowExecutionEvents) A list of events that occurred during the flow execution. Events can include node inputs and outputs, flow inputs and outputs, condition results, and failure events.
- Parameters:
flowExecutionEvents- A list of events that occurred during the flow execution. Events can include node inputs and outputs, flow inputs and outputs, condition results, and failure events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowExecutionEvents
ListFlowExecutionEventsResponse.Builder flowExecutionEvents(Consumer<FlowExecutionEvent.Builder>... flowExecutionEvents) A list of events that occurred during the flow execution. Events can include node inputs and outputs, flow inputs and outputs, condition results, and failure events.
This is a convenience method that creates an instance of theFlowExecutionEvent.Builderavoiding the need to create one manually viaFlowExecutionEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflowExecutionEvents(List<FlowExecutionEvent>).- Parameters:
flowExecutionEvents- a consumer that will call methods onFlowExecutionEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to retrieve the next set of results. This value is returned if more results are available.
- Parameters:
nextToken- A token to retrieve the next set of results. This value is returned if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-