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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBatchSegmentJobsResponse.BuilderbatchSegmentJobs(Collection<BatchSegmentJobSummary> batchSegmentJobs)A list containing information on each job that is returned.ListBatchSegmentJobsResponse.BuilderbatchSegmentJobs(Consumer<BatchSegmentJobSummary.Builder>... batchSegmentJobs)A list containing information on each job that is returned.ListBatchSegmentJobsResponse.BuilderbatchSegmentJobs(BatchSegmentJobSummary... batchSegmentJobs)A list containing information on each job that is returned.ListBatchSegmentJobsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
ListBatchSegmentJobsResponse.Builder batchSegmentJobs(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
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.Builderavoiding the need to create one manually viaBatchSegmentJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#batchSegmentJobs(List.) - 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:
#batchSegmentJobs(java.util.Collection)
-
nextToken
ListBatchSegmentJobsResponse.Builder nextToken(String 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.
-
-