Interface JobDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JobDetails.Builder,,JobDetails> SdkBuilder<JobDetails.Builder,,JobDetails> SdkPojo
- Enclosing class:
JobDetails
@Mutable
@NotThreadSafe
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.Builderdata(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaJobData.builder().When the
Consumercompletes,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.
-