Interface ListBatchInferenceJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBatchInferenceJobsResponse.Builder,
,ListBatchInferenceJobsResponse> PersonalizeResponse.Builder
,SdkBuilder<ListBatchInferenceJobsResponse.Builder,
,ListBatchInferenceJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBatchInferenceJobsResponse
public static interface ListBatchInferenceJobsResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<ListBatchInferenceJobsResponse.Builder,ListBatchInferenceJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbatchInferenceJobs
(Collection<BatchInferenceJobSummary> batchInferenceJobs) A list containing information on each job that is returned.batchInferenceJobs
(Consumer<BatchInferenceJobSummary.Builder>... batchInferenceJobs) A list containing information on each job that is returned.batchInferenceJobs
(BatchInferenceJobSummary... batchInferenceJobs) A list containing information on each job that is returned.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
batchInferenceJobs
ListBatchInferenceJobsResponse.Builder batchInferenceJobs(Collection<BatchInferenceJobSummary> batchInferenceJobs) A list containing information on each job that is returned.
- Parameters:
batchInferenceJobs
- A list containing information on each job that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchInferenceJobs
ListBatchInferenceJobsResponse.Builder batchInferenceJobs(BatchInferenceJobSummary... batchInferenceJobs) A list containing information on each job that is returned.
- Parameters:
batchInferenceJobs
- A list containing information on each job that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchInferenceJobs
ListBatchInferenceJobsResponse.Builder batchInferenceJobs(Consumer<BatchInferenceJobSummary.Builder>... batchInferenceJobs) A list containing information on each job that is returned.
This is a convenience method that creates an instance of theBatchInferenceJobSummary.Builder
avoiding the need to create one manually viaBatchInferenceJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobatchInferenceJobs(List<BatchInferenceJobSummary>)
.- Parameters:
batchInferenceJobs
- a consumer that will call methods onBatchInferenceJobSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. The value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. The value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-