Interface ListModelInvocationJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<ListModelInvocationJobsResponse.Builder,,ListModelInvocationJobsResponse> SdkBuilder<ListModelInvocationJobsResponse.Builder,,ListModelInvocationJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListModelInvocationJobsResponse
public static interface ListModelInvocationJobsResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListModelInvocationJobsResponse.Builder,ListModelInvocationJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninvocationJobSummaries(Collection<ModelInvocationJobSummary> invocationJobSummaries) A list of items, each of which contains a summary about a batch inference job.invocationJobSummaries(Consumer<ModelInvocationJobSummary.Builder>... invocationJobSummaries) A list of items, each of which contains a summary about a batch inference job.invocationJobSummaries(ModelInvocationJobSummary... invocationJobSummaries) A list of items, each of which contains a summary about a batch inference job.If there are more results than can fit in the response, anextTokenis returned.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If there are more results than can fit in the response, a
nextTokenis returned. Use thenextTokenin a request to return the next batch of results.- Parameters:
nextToken- If there are more results than can fit in the response, anextTokenis returned. Use thenextTokenin a request to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationJobSummaries
ListModelInvocationJobsResponse.Builder invocationJobSummaries(Collection<ModelInvocationJobSummary> invocationJobSummaries) A list of items, each of which contains a summary about a batch inference job.
- Parameters:
invocationJobSummaries- A list of items, each of which contains a summary about a batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationJobSummaries
ListModelInvocationJobsResponse.Builder invocationJobSummaries(ModelInvocationJobSummary... invocationJobSummaries) A list of items, each of which contains a summary about a batch inference job.
- Parameters:
invocationJobSummaries- A list of items, each of which contains a summary about a batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationJobSummaries
ListModelInvocationJobsResponse.Builder invocationJobSummaries(Consumer<ModelInvocationJobSummary.Builder>... invocationJobSummaries) A list of items, each of which contains a summary about a batch inference job.
This is a convenience method that creates an instance of theModelInvocationJobSummary.Builderavoiding the need to create one manually viaModelInvocationJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvocationJobSummaries(List<ModelInvocationJobSummary>).- Parameters:
invocationJobSummaries- a consumer that will call methods onModelInvocationJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-