Interface ListModelInvocationJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<ListModelInvocationJobsResponse.Builder,
,ListModelInvocationJobsResponse> SdkBuilder<ListModelInvocationJobsResponse.Builder,
,ListModelInvocationJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListModelInvocationJobsResponse
@Mutable
@NotThreadSafe
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, anextToken
is returned.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.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 Details
-
nextToken
If there are more results than can fit in the response, a
nextToken
is returned. Use thenextToken
in a request to return the next batch of results.- Parameters:
nextToken
- If there are more results than can fit in the response, anextToken
is returned. Use thenextToken
in 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.Builder
avoiding the need to create one manually viaModelInvocationJobSummary.builder()
.When the
Consumer
completes,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:
-