Interface ListInvocationStepsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentRuntimeResponse.Builder,Buildable,CopyableBuilder<ListInvocationStepsResponse.Builder,,ListInvocationStepsResponse> SdkBuilder<ListInvocationStepsResponse.Builder,,ListInvocationStepsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListInvocationStepsResponse
-
Method Summary
Modifier and TypeMethodDescriptioninvocationStepSummaries(Collection<InvocationStepSummary> invocationStepSummaries) A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.invocationStepSummaries(Consumer<InvocationStepSummary.Builder>... invocationStepSummaries) A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.invocationStepSummaries(InvocationStepSummary... invocationStepSummaries) A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
invocationStepSummaries
ListInvocationStepsResponse.Builder invocationStepSummaries(Collection<InvocationStepSummary> invocationStepSummaries) A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.
- Parameters:
invocationStepSummaries- A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationStepSummaries
ListInvocationStepsResponse.Builder invocationStepSummaries(InvocationStepSummary... invocationStepSummaries) A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.
- Parameters:
invocationStepSummaries- A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationStepSummaries
ListInvocationStepsResponse.Builder invocationStepSummaries(Consumer<InvocationStepSummary.Builder>... invocationStepSummaries) A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.
This is a convenience method that creates an instance of theInvocationStepSummary.Builderavoiding the need to create one manually viaInvocationStepSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvocationStepSummaries(List<InvocationStepSummary>).- Parameters:
invocationStepSummaries- a consumer that will call methods onInvocationStepSummary.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
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.
-