public static interface DescribeJobsResponse.Builder extends BatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeJobsResponse.Builder,DescribeJobsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeJobsResponse.Builder |
jobs(Collection<JobDetail> jobs)
The list of jobs.
|
DescribeJobsResponse.Builder |
jobs(Consumer<JobDetail.Builder>... jobs)
The list of jobs.
|
DescribeJobsResponse.Builder |
jobs(JobDetail... jobs)
The list of jobs.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeJobsResponse.Builder jobs(Collection<JobDetail> jobs)
The list of jobs.
jobs
- The list of jobs.DescribeJobsResponse.Builder jobs(JobDetail... jobs)
The list of jobs.
jobs
- The list of jobs.DescribeJobsResponse.Builder jobs(Consumer<JobDetail.Builder>... jobs)
The list of jobs.
This is a convenience method that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #jobs(List)
.jobs
- a consumer that will call methods on List.Builder
#jobs(List)
Copyright © 2022. All rights reserved.