public static interface DescribeJobsResponse.Builder extends BatchResponse.Builder, 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
sdkHttpResponse, sdkHttpResponse
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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.