public static interface JobDetails.Builder extends CopyableBuilder<JobDetails.Builder,JobDetails>
Modifier and Type | Method and Description |
---|---|
JobDetails.Builder |
accountId(String accountId)
The AWS account ID associated with the job.
|
default JobDetails.Builder |
data(Consumer<JobData.Builder> data)
Represents additional information about a job required for a job worker to complete the job.
|
JobDetails.Builder |
data(JobData data)
Represents additional information about a job required for a job worker to complete the job.
|
JobDetails.Builder |
id(String id)
The unique system-generated ID of the job.
|
copy
apply, build
JobDetails.Builder id(String id)
The unique system-generated ID of the job.
id
- The unique system-generated ID of the job.JobDetails.Builder data(JobData data)
Represents additional information about a job required for a job worker to complete the job.
data
- Represents additional information about a job required for a job worker to complete the job.default JobDetails.Builder data(Consumer<JobData.Builder> data)
Represents additional information about a job required for a job worker to complete the job.
This is a convenience that creates an instance of theJobData.Builder
avoiding the need to create one
manually via JobData.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to data(JobData)
.data
- a consumer that will call methods on JobData.Builder
data(JobData)
JobDetails.Builder accountId(String accountId)
The AWS account ID associated with the job.
accountId
- The AWS account ID associated with the job.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.