Interface ListAsyncInvokesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockRuntimeResponse.Builder,Buildable,CopyableBuilder<ListAsyncInvokesResponse.Builder,,ListAsyncInvokesResponse> SdkBuilder<ListAsyncInvokesResponse.Builder,,ListAsyncInvokesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAsyncInvokesResponse
@Mutable
@NotThreadSafe
public static interface ListAsyncInvokesResponse.Builder
extends BedrockRuntimeResponse.Builder, SdkPojo, CopyableBuilder<ListAsyncInvokesResponse.Builder,ListAsyncInvokesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionasyncInvokeSummaries(Collection<AsyncInvokeSummary> asyncInvokeSummaries) A list of invocation summaries.asyncInvokeSummaries(Consumer<AsyncInvokeSummary.Builder>... asyncInvokeSummaries) A list of invocation summaries.asyncInvokeSummaries(AsyncInvokeSummary... asyncInvokeSummaries) A list of invocation summaries.Specify the pagination token from a previous request to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.services.bedrockruntime.model.BedrockRuntimeResponse.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
-
nextToken
Specify the pagination token from a previous request to retrieve the next page of results.
- Parameters:
nextToken- Specify the pagination token from a previous request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asyncInvokeSummaries
ListAsyncInvokesResponse.Builder asyncInvokeSummaries(Collection<AsyncInvokeSummary> asyncInvokeSummaries) A list of invocation summaries.
- Parameters:
asyncInvokeSummaries- A list of invocation summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asyncInvokeSummaries
A list of invocation summaries.
- Parameters:
asyncInvokeSummaries- A list of invocation summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asyncInvokeSummaries
ListAsyncInvokesResponse.Builder asyncInvokeSummaries(Consumer<AsyncInvokeSummary.Builder>... asyncInvokeSummaries) A list of invocation summaries.
This is a convenience method that creates an instance of theAsyncInvokeSummary.Builderavoiding the need to create one manually viaAsyncInvokeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toasyncInvokeSummaries(List<AsyncInvokeSummary>).- Parameters:
asyncInvokeSummaries- a consumer that will call methods onAsyncInvokeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-