Interface ListBatchSegmentJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBatchSegmentJobsResponse.Builder,
,ListBatchSegmentJobsResponse> PersonalizeResponse.Builder
,SdkBuilder<ListBatchSegmentJobsResponse.Builder,
,ListBatchSegmentJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBatchSegmentJobsResponse
public static interface ListBatchSegmentJobsResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<ListBatchSegmentJobsResponse.Builder,ListBatchSegmentJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbatchSegmentJobs
(Collection<BatchSegmentJobSummary> batchSegmentJobs) A list containing information on each job that is returned.batchSegmentJobs
(Consumer<BatchSegmentJobSummary.Builder>... batchSegmentJobs) A list containing information on each job that is returned.batchSegmentJobs
(BatchSegmentJobSummary... batchSegmentJobs) 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
-
batchSegmentJobs
ListBatchSegmentJobsResponse.Builder batchSegmentJobs(Collection<BatchSegmentJobSummary> batchSegmentJobs) A list containing information on each job that is returned.
- Parameters:
batchSegmentJobs
- 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.
-
batchSegmentJobs
A list containing information on each job that is returned.
- Parameters:
batchSegmentJobs
- 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.
-
batchSegmentJobs
ListBatchSegmentJobsResponse.Builder batchSegmentJobs(Consumer<BatchSegmentJobSummary.Builder>... batchSegmentJobs) A list containing information on each job that is returned.
This is a convenience method that creates an instance of theBatchSegmentJobSummary.Builder
avoiding the need to create one manually viaBatchSegmentJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobatchSegmentJobs(List<BatchSegmentJobSummary>)
.- Parameters:
batchSegmentJobs
- a consumer that will call methods onBatchSegmentJobSummary.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.
-