Interface ListFlowExecutionEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentRuntimeResponse.Builder,Buildable,CopyableBuilder<ListFlowExecutionEventsResponse.Builder,ListFlowExecutionEventsResponse>,SdkBuilder<ListFlowExecutionEventsResponse.Builder,ListFlowExecutionEventsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListFlowExecutionEventsResponse
@Mutable @NotThreadSafe public static interface ListFlowExecutionEventsResponse.Builder extends BedrockAgentRuntimeResponse.Builder, SdkPojo, CopyableBuilder<ListFlowExecutionEventsResponse.Builder,ListFlowExecutionEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFlowExecutionEventsResponse.BuilderflowExecutionEvents(Collection<FlowExecutionEvent> flowExecutionEvents)A list of events that occurred during the flow execution.ListFlowExecutionEventsResponse.BuilderflowExecutionEvents(Consumer<FlowExecutionEvent.Builder>... flowExecutionEvents)A list of events that occurred during the flow execution.ListFlowExecutionEventsResponse.BuilderflowExecutionEvents(FlowExecutionEvent... flowExecutionEvents)A list of events that occurred during the flow execution.ListFlowExecutionEventsResponse.BuildernextToken(String nextToken)A token to retrieve the next set of results.-
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
-
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 to#flowExecutionEvents(List.) - 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:
#flowExecutionEvents(java.util.Collection)
-
nextToken
ListFlowExecutionEventsResponse.Builder nextToken(String 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.
-
-