Interface GetJobRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetJobRunResponse.Builder,
,GetJobRunResponse> DataZoneResponse.Builder
,SdkBuilder<GetJobRunResponse.Builder,
,GetJobRunResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetJobRunResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the job run was created.The user who created the job run.default GetJobRunResponse.Builder
details
(Consumer<JobRunDetails.Builder> details) The details of the job run.details
(JobRunDetails details) The details of the job run.The ID of the domain.The timestamp of when the job run ended.default GetJobRunResponse.Builder
error
(Consumer<JobRunError.Builder> error) The error generated if the action is not completed successfully.error
(JobRunError error) The error generated if the action is not completed successfully.The ID of the job run.The ID of the job run.The type of the job run.The type of the job run.The mode of the job run.runMode
(JobRunMode runMode) The mode of the job run.The timestamp of when the job run started.The status of the job run.status
(JobRunStatus status) The status of the job run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
createdAt
The timestamp of when the job run was created.
- Parameters:
createdAt
- The timestamp of when the job run was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
details
The details of the job run.
- Parameters:
details
- The details of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
The details of the job run.
This is a convenience method that creates an instance of theJobRunDetails.Builder
avoiding the need to create one manually viaJobRunDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(JobRunDetails)
.- Parameters:
details
- a consumer that will call methods onJobRunDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainId
The ID of the domain.
- Parameters:
domainId
- The ID of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The timestamp of when the job run ended.
- Parameters:
endTime
- The timestamp of when the job run ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The error generated if the action is not completed successfully.
- Parameters:
error
- The error generated if the action is not completed successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The error generated if the action is not completed successfully.
This is a convenience method that creates an instance of theJobRunError.Builder
avoiding the need to create one manually viaJobRunError.builder()
.When the
Consumer
completes,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:
-
id
The ID of the job run.
- Parameters:
id
- The ID of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The ID of the job run.
- Parameters:
jobId
- The ID of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobType
The type of the job run.
- Parameters:
jobType
- The type of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobType
The type of the job run.
- Parameters:
jobType
- The type of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runMode
The mode of the job run.
- Parameters:
runMode
- The mode of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runMode
The mode of the job run.
- Parameters:
runMode
- The mode of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The timestamp of when the job run started.
- Parameters:
startTime
- The timestamp of when the job run started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the job run.
- Parameters:
status
- The status of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the job run.
- Parameters:
status
- The status of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-