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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JobDetails.BuilderaccountId(String accountId)The 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.JobDetails.Builderdata(JobData data)Represents other information about a job required for a job worker to complete the job.JobDetails.Builderid(String id)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
JobDetails.Builder id(String 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
JobDetails.Builder data(JobData 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
default JobDetails.Builder data(Consumer<JobData.Builder> 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:
data(JobData)
-
accountId
JobDetails.Builder accountId(String 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.
-
-