Interface ListFlowExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentRuntimeResponse.Builder
,Buildable
,CopyableBuilder<ListFlowExecutionsResponse.Builder,
,ListFlowExecutionsResponse> SdkBuilder<ListFlowExecutionsResponse.Builder,
,ListFlowExecutionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListFlowExecutionsResponse
@Mutable
@NotThreadSafe
public static interface ListFlowExecutionsResponse.Builder
extends BedrockAgentRuntimeResponse.Builder, SdkPojo, CopyableBuilder<ListFlowExecutionsResponse.Builder,ListFlowExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionflowExecutionSummaries
(Collection<FlowExecutionSummary> flowExecutionSummaries) A list of flow execution summaries.flowExecutionSummaries
(Consumer<FlowExecutionSummary.Builder>... flowExecutionSummaries) A list of flow execution summaries.flowExecutionSummaries
(FlowExecutionSummary... flowExecutionSummaries) A list of flow execution summaries.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 Details
-
flowExecutionSummaries
ListFlowExecutionsResponse.Builder flowExecutionSummaries(Collection<FlowExecutionSummary> flowExecutionSummaries) A list of flow execution summaries. Each summary includes the execution ARN, flow identifier, flow alias identifier, flow version, status, and timestamps.
- Parameters:
flowExecutionSummaries
- A list of flow execution summaries. Each summary includes the execution ARN, flow identifier, flow alias identifier, flow version, status, and timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowExecutionSummaries
ListFlowExecutionsResponse.Builder flowExecutionSummaries(FlowExecutionSummary... flowExecutionSummaries) A list of flow execution summaries. Each summary includes the execution ARN, flow identifier, flow alias identifier, flow version, status, and timestamps.
- Parameters:
flowExecutionSummaries
- A list of flow execution summaries. Each summary includes the execution ARN, flow identifier, flow alias identifier, flow version, status, and timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowExecutionSummaries
ListFlowExecutionsResponse.Builder flowExecutionSummaries(Consumer<FlowExecutionSummary.Builder>... flowExecutionSummaries) A list of flow execution summaries. Each summary includes the execution ARN, flow identifier, flow alias identifier, flow version, status, and timestamps.
This is a convenience method that creates an instance of theFlowExecutionSummary.Builder
avoiding the need to create one manually viaFlowExecutionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toflowExecutionSummaries(List<FlowExecutionSummary>)
.- Parameters:
flowExecutionSummaries
- a consumer that will call methods onFlowExecutionSummary.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.
-