Interface GetJobRunResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetJobRunResponse.Builder,GetJobRunResponse>,DataZoneResponse.Builder,SdkBuilder<GetJobRunResponse.Builder,GetJobRunResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetJobRunResponse
public static interface GetJobRunResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<GetJobRunResponse.Builder,GetJobRunResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetJobRunResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the job run was created.GetJobRunResponse.BuildercreatedBy(String createdBy)The user who created the job run.default GetJobRunResponse.Builderdetails(Consumer<JobRunDetails.Builder> details)The details of the job run.GetJobRunResponse.Builderdetails(JobRunDetails details)The details of the job run.GetJobRunResponse.BuilderdomainId(String domainId)The ID of the domain.GetJobRunResponse.BuilderendTime(Instant endTime)The timestamp of when the job run ended.default GetJobRunResponse.Buildererror(Consumer<JobRunError.Builder> error)The error generated if the action is not completed successfully.GetJobRunResponse.Buildererror(JobRunError error)The error generated if the action is not completed successfully.GetJobRunResponse.Builderid(String id)The ID of the job run.GetJobRunResponse.BuilderjobId(String jobId)The ID of the job run.GetJobRunResponse.BuilderjobType(String jobType)The type of the job run.GetJobRunResponse.BuilderjobType(JobType jobType)The type of the job run.GetJobRunResponse.BuilderrunMode(String runMode)The mode of the job run.GetJobRunResponse.BuilderrunMode(JobRunMode runMode)The mode of the job run.GetJobRunResponse.BuilderstartTime(Instant startTime)The timestamp of when the job run started.GetJobRunResponse.Builderstatus(String status)The status of the job run.GetJobRunResponse.Builderstatus(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 Detail
-
createdAt
GetJobRunResponse.Builder createdAt(Instant 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
GetJobRunResponse.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.
-
details
GetJobRunResponse.Builder details(JobRunDetails 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
default GetJobRunResponse.Builder details(Consumer<JobRunDetails.Builder> details)
The details of the job run.
This is a convenience method that creates an instance of theJobRunDetails.Builderavoiding the need to create one manually viaJobRunDetails.builder().When the
Consumercompletes,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:
details(JobRunDetails)
-
domainId
GetJobRunResponse.Builder domainId(String 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
GetJobRunResponse.Builder endTime(Instant 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
GetJobRunResponse.Builder error(JobRunError 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
default GetJobRunResponse.Builder error(Consumer<JobRunError.Builder> error)
The error generated if the action is not completed successfully.
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)
-
id
GetJobRunResponse.Builder id(String 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
GetJobRunResponse.Builder jobId(String 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
GetJobRunResponse.Builder jobType(String jobType)
The type of the job run.
-
jobType
GetJobRunResponse.Builder jobType(JobType jobType)
The type of the job run.
-
runMode
GetJobRunResponse.Builder runMode(String 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:
JobRunMode,JobRunMode
-
runMode
GetJobRunResponse.Builder runMode(JobRunMode 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:
JobRunMode,JobRunMode
-
startTime
GetJobRunResponse.Builder startTime(Instant 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
GetJobRunResponse.Builder status(String 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:
JobRunStatus,JobRunStatus
-
status
GetJobRunResponse.Builder status(JobRunStatus 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:
JobRunStatus,JobRunStatus
-
-