Interface ListFlowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentResponse.Builder
,Buildable
,CopyableBuilder<ListFlowsResponse.Builder,
,ListFlowsResponse> SdkBuilder<ListFlowsResponse.Builder,
,ListFlowsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListFlowsResponse
@Mutable
@NotThreadSafe
public static interface ListFlowsResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListFlowsResponse.Builder,ListFlowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionflowSummaries
(Collection<FlowSummary> flowSummaries) A list, each member of which contains information about a flow.flowSummaries
(Consumer<FlowSummary.Builder>... flowSummaries) A list, each member of which contains information about a flow.flowSummaries
(FlowSummary... flowSummaries) A list, each member of which contains information about a flow.If the total number of results is greater than themaxResults
value provided in the request, use this token when making another request in thenextToken
field to return the next batch of results.Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.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
-
flowSummaries
A list, each member of which contains information about a flow.
- Parameters:
flowSummaries
- A list, each member of which contains information about a flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowSummaries
A list, each member of which contains information about a flow.
- Parameters:
flowSummaries
- A list, each member of which contains information about a flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowSummaries
A list, each member of which contains information about a flow.
This is a convenience method that creates an instance of theFlowSummary.Builder
avoiding the need to create one manually viaFlowSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toflowSummaries(List<FlowSummary>)
.- Parameters:
flowSummaries
- a consumer that will call methods onFlowSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the total number of results is greater than the
maxResults
value provided in the request, use this token when making another request in thenextToken
field to return the next batch of results.- Parameters:
nextToken
- If the total number of results is greater than themaxResults
value provided in the request, use this token when making another request in thenextToken
field to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-