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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListModelInvocationJobsResponse.BuilderinvocationJobSummaries(Collection<ModelInvocationJobSummary> invocationJobSummaries)A list of items, each of which contains a summary about a batch inference job.ListModelInvocationJobsResponse.BuilderinvocationJobSummaries(Consumer<ModelInvocationJobSummary.Builder>... invocationJobSummaries)A list of items, each of which contains a summary about a batch inference job.ListModelInvocationJobsResponse.BuilderinvocationJobSummaries(ModelInvocationJobSummary... invocationJobSummaries)A list of items, each of which contains a summary about a batch inference job.ListModelInvocationJobsResponse.BuildernextToken(String nextToken)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, 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
-
nextToken
ListModelInvocationJobsResponse.Builder nextToken(String 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 to#invocationJobSummaries(List.) - 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:
#invocationJobSummaries(java.util.Collection)
-
-