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
copyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
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.Builderavoiding the need to create one manually viaBatchInferenceJobSummary.builder().When the
Consumercompletes,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
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. The value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-