Interface ListInvocationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentRuntimeResponse.Builder,Buildable,CopyableBuilder<ListInvocationsResponse.Builder,ListInvocationsResponse>,SdkBuilder<ListInvocationsResponse.Builder,ListInvocationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListInvocationsResponse
@Mutable @NotThreadSafe public static interface ListInvocationsResponse.Builder extends BedrockAgentRuntimeResponse.Builder, SdkPojo, CopyableBuilder<ListInvocationsResponse.Builder,ListInvocationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInvocationsResponse.BuilderinvocationSummaries(Collection<InvocationSummary> invocationSummaries)A list of invocation summaries associated with the session.ListInvocationsResponse.BuilderinvocationSummaries(Consumer<InvocationSummary.Builder>... invocationSummaries)A list of invocation summaries associated with the session.ListInvocationsResponse.BuilderinvocationSummaries(InvocationSummary... invocationSummaries)A list of invocation summaries associated with the session.ListInvocationsResponse.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.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
-
invocationSummaries
ListInvocationsResponse.Builder invocationSummaries(Collection<InvocationSummary> invocationSummaries)
A list of invocation summaries associated with the session.
- Parameters:
invocationSummaries- A list of invocation summaries associated with the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationSummaries
ListInvocationsResponse.Builder invocationSummaries(InvocationSummary... invocationSummaries)
A list of invocation summaries associated with the session.
- Parameters:
invocationSummaries- A list of invocation summaries associated with the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationSummaries
ListInvocationsResponse.Builder invocationSummaries(Consumer<InvocationSummary.Builder>... invocationSummaries)
A list of invocation summaries associated with the session.
This is a convenience method that creates an instance of theInvocationSummary.Builderavoiding the need to create one manually viaInvocationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#invocationSummaries(List.) - Parameters:
invocationSummaries- a consumer that will call methods onInvocationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#invocationSummaries(java.util.Collection)
-
nextToken
ListInvocationsResponse.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.
-
-