Interface JobDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobDetails.Builder,
,JobDetails> SdkBuilder<JobDetails.Builder,
,JobDetails> SdkPojo
- Enclosing class:
JobDetails
public static interface JobDetails.Builder
extends SdkPojo, CopyableBuilder<JobDetails.Builder,JobDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID associated with the job.default JobDetails.Builder
data
(Consumer<JobData.Builder> data) Represents other information about a job required for a job worker to complete the job.Represents other information about a job required for a job worker to complete the job.The unique system-generated ID of the job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The unique system-generated ID of the job.
- Parameters:
id
- The unique system-generated ID of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Represents other information about a job required for a job worker to complete the job.
- Parameters:
data
- Represents other information about a job required for a job worker to complete the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Represents other information about a job required for a job worker to complete the job.
This is a convenience method that creates an instance of theJobData.Builder
avoiding the need to create one manually viaJobData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todata(JobData)
.- Parameters:
data
- a consumer that will call methods onJobData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountId
The Amazon Web Services account ID associated with the job.
- Parameters:
accountId
- The Amazon Web Services account ID associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-