Interface ListFlowVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<ListFlowVersionsResponse.Builder,ListFlowVersionsResponse>,SdkBuilder<ListFlowVersionsResponse.Builder,ListFlowVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListFlowVersionsResponse
public static interface ListFlowVersionsResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListFlowVersionsResponse.Builder,ListFlowVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFlowVersionsResponse.BuilderflowVersionSummaries(Collection<FlowVersionSummary> flowVersionSummaries)A list, each member of which contains information about a flow.ListFlowVersionsResponse.BuilderflowVersionSummaries(Consumer<FlowVersionSummary.Builder>... flowVersionSummaries)A list, each member of which contains information about a flow.ListFlowVersionsResponse.BuilderflowVersionSummaries(FlowVersionSummary... flowVersionSummaries)A list, each member of which contains information about a flow.ListFlowVersionsResponse.BuildernextToken(String nextToken)If the total number of results is greater than themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
flowVersionSummaries
ListFlowVersionsResponse.Builder flowVersionSummaries(Collection<FlowVersionSummary> flowVersionSummaries)
A list, each member of which contains information about a flow.
- Parameters:
flowVersionSummaries- 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.
-
flowVersionSummaries
ListFlowVersionsResponse.Builder flowVersionSummaries(FlowVersionSummary... flowVersionSummaries)
A list, each member of which contains information about a flow.
- Parameters:
flowVersionSummaries- 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.
-
flowVersionSummaries
ListFlowVersionsResponse.Builder flowVersionSummaries(Consumer<FlowVersionSummary.Builder>... flowVersionSummaries)
A list, each member of which contains information about a flow.
This is a convenience method that creates an instance of theFlowVersionSummary.Builderavoiding the need to create one manually viaFlowVersionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#flowVersionSummaries(List.) - Parameters:
flowVersionSummaries- a consumer that will call methods onFlowVersionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#flowVersionSummaries(java.util.Collection)
-
nextToken
ListFlowVersionsResponse.Builder nextToken(String nextToken)
If the total number of results is greater than the
maxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.- Parameters:
nextToken- If the total number of results is greater than themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-