Interface JobRunSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobRunSummary.Builder,JobRunSummary>,SdkBuilder<JobRunSummary.Builder,JobRunSummary>,SdkPojo
- Enclosing class:
- JobRunSummary
public static interface JobRunSummary.Builder extends SdkPojo, CopyableBuilder<JobRunSummary.Builder,JobRunSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JobRunSummary.BuildercreatedAt(Instant createdAt)The timestamp at which job run was created.JobRunSummary.BuildercreatedBy(String createdBy)The user who created the job run.JobRunSummary.BuilderdomainId(String domainId)The domain ID of the job run.JobRunSummary.BuilderendTime(Instant endTime)The end time of a job run.default JobRunSummary.Buildererror(Consumer<JobRunError.Builder> error)The error of a job run.JobRunSummary.Buildererror(JobRunError error)The error of a job run.JobRunSummary.BuilderjobId(String jobId)The job ID of a job run.JobRunSummary.BuilderjobType(String jobType)The job type of a job run.JobRunSummary.BuilderjobType(JobType jobType)The job type of a job run.JobRunSummary.BuilderrunId(String runId)The run ID of a job run.JobRunSummary.BuilderrunMode(String runMode)The run mode of a job run.JobRunSummary.BuilderrunMode(JobRunMode runMode)The run mode of a job run.JobRunSummary.BuilderstartTime(Instant startTime)The start time of a job run.JobRunSummary.Builderstatus(String status)The status of a job run.JobRunSummary.Builderstatus(JobRunStatus status)The status of a job run.-
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
-
createdAt
JobRunSummary.Builder createdAt(Instant createdAt)
The timestamp at which job run was created.
- Parameters:
createdAt- The timestamp at which job run was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
JobRunSummary.Builder createdBy(String createdBy)
The user who created the job run.
- Parameters:
createdBy- The user who created the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
JobRunSummary.Builder domainId(String domainId)
The domain ID of the job run.
- Parameters:
domainId- The domain ID of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
JobRunSummary.Builder endTime(Instant endTime)
The end time of a job run.
- Parameters:
endTime- The end time of a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
JobRunSummary.Builder error(JobRunError error)
The error of a job run.
- Parameters:
error- The error of a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default JobRunSummary.Builder error(Consumer<JobRunError.Builder> error)
The error of a job run.
This is a convenience method that creates an instance of theJobRunError.Builderavoiding the need to create one manually viaJobRunError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(JobRunError).- Parameters:
error- a consumer that will call methods onJobRunError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(JobRunError)
-
jobId
JobRunSummary.Builder jobId(String jobId)
The job ID of a job run.
- Parameters:
jobId- The job ID of a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobType
JobRunSummary.Builder jobType(String jobType)
The job type of a job run.
-
jobType
JobRunSummary.Builder jobType(JobType jobType)
The job type of a job run.
-
runId
JobRunSummary.Builder runId(String runId)
The run ID of a job run.
- Parameters:
runId- The run ID of a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runMode
JobRunSummary.Builder runMode(String runMode)
The run mode of a job run.
- Parameters:
runMode- The run mode of a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobRunMode,JobRunMode
-
runMode
JobRunSummary.Builder runMode(JobRunMode runMode)
The run mode of a job run.
- Parameters:
runMode- The run mode of a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobRunMode,JobRunMode
-
startTime
JobRunSummary.Builder startTime(Instant startTime)
The start time of a job run.
- Parameters:
startTime- The start time of a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
JobRunSummary.Builder status(String status)
The status of a job run.
- Parameters:
status- The status of a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobRunStatus,JobRunStatus
-
status
JobRunSummary.Builder status(JobRunStatus status)
The status of a job run.
- Parameters:
status- The status of a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobRunStatus,JobRunStatus
-
-