Interface GetMatchingJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMatchingJobResponse.Builder,GetMatchingJobResponse>,EntityResolutionResponse.Builder,SdkBuilder<GetMatchingJobResponse.Builder,GetMatchingJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetMatchingJobResponse
public static interface GetMatchingJobResponse.Builder extends EntityResolutionResponse.Builder, SdkPojo, CopyableBuilder<GetMatchingJobResponse.Builder,GetMatchingJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetMatchingJobResponse.BuilderendTime(Instant endTime)The time at which the job has finished.default GetMatchingJobResponse.BuildererrorDetails(Consumer<ErrorDetails.Builder> errorDetails)An object containing an error message, if there was an error.GetMatchingJobResponse.BuildererrorDetails(ErrorDetails errorDetails)An object containing an error message, if there was an error.GetMatchingJobResponse.BuilderjobId(String jobId)The ID of the job.default GetMatchingJobResponse.Buildermetrics(Consumer<JobMetrics.Builder> metrics)Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.GetMatchingJobResponse.Buildermetrics(JobMetrics metrics)Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.GetMatchingJobResponse.BuilderoutputSourceConfig(Collection<JobOutputSource> outputSourceConfig)A list ofOutputSourceobjects.GetMatchingJobResponse.BuilderoutputSourceConfig(Consumer<JobOutputSource.Builder>... outputSourceConfig)A list ofOutputSourceobjects.GetMatchingJobResponse.BuilderoutputSourceConfig(JobOutputSource... outputSourceConfig)A list ofOutputSourceobjects.GetMatchingJobResponse.BuilderstartTime(Instant startTime)The time at which the job was started.GetMatchingJobResponse.Builderstatus(String status)The current status of the job.GetMatchingJobResponse.Builderstatus(JobStatus status)The current status of the job.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.entityresolution.model.EntityResolutionResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
endTime
GetMatchingJobResponse.Builder endTime(Instant endTime)
The time at which the job has finished.
- Parameters:
endTime- The time at which the job has finished.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
GetMatchingJobResponse.Builder errorDetails(ErrorDetails errorDetails)
An object containing an error message, if there was an error.
- Parameters:
errorDetails- An object containing an error message, if there was an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
default GetMatchingJobResponse.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
An object containing an error message, if there was an error.
This is a convenience method that creates an instance of theErrorDetails.Builderavoiding the need to create one manually viaErrorDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetails(ErrorDetails).- Parameters:
errorDetails- a consumer that will call methods onErrorDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
errorDetails(ErrorDetails)
-
jobId
GetMatchingJobResponse.Builder jobId(String jobId)
The ID of the job.
- Parameters:
jobId- The ID of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
GetMatchingJobResponse.Builder metrics(JobMetrics metrics)
Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.
- Parameters:
metrics- Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
default GetMatchingJobResponse.Builder metrics(Consumer<JobMetrics.Builder> metrics)
Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.
This is a convenience method that creates an instance of theJobMetrics.Builderavoiding the need to create one manually viaJobMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometrics(JobMetrics).- Parameters:
metrics- a consumer that will call methods onJobMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metrics(JobMetrics)
-
outputSourceConfig
GetMatchingJobResponse.Builder outputSourceConfig(Collection<JobOutputSource> outputSourceConfig)
A list of
OutputSourceobjects.- Parameters:
outputSourceConfig- A list ofOutputSourceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSourceConfig
GetMatchingJobResponse.Builder outputSourceConfig(JobOutputSource... outputSourceConfig)
A list of
OutputSourceobjects.- Parameters:
outputSourceConfig- A list ofOutputSourceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSourceConfig
GetMatchingJobResponse.Builder outputSourceConfig(Consumer<JobOutputSource.Builder>... outputSourceConfig)
A list of
This is a convenience method that creates an instance of theOutputSourceobjects.JobOutputSource.Builderavoiding the need to create one manually viaJobOutputSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputSourceConfig(List.) - Parameters:
outputSourceConfig- a consumer that will call methods onJobOutputSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#outputSourceConfig(java.util.Collection)
-
startTime
GetMatchingJobResponse.Builder startTime(Instant startTime)
The time at which the job was started.
- Parameters:
startTime- The time at which the job was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetMatchingJobResponse.Builder status(String status)
The current status of the job.
-
status
GetMatchingJobResponse.Builder status(JobStatus status)
The current status of the job.
-
-