Interface LabelingJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LabelingJobSummary.Builder,
,LabelingJobSummary> SdkBuilder<LabelingJobSummary.Builder,
,LabelingJobSummary> SdkPojo
- Enclosing class:
LabelingJobSummary
-
Method Summary
Modifier and TypeMethodDescriptionannotationConsolidationLambdaArn
(String annotationConsolidationLambdaArn) The Amazon Resource Name (ARN) of the Lambda function used to consolidate the annotations from individual workers into a label for a data object.creationTime
(Instant creationTime) The date and time that the job was created (timestamp).failureReason
(String failureReason) If theLabelingJobStatus
field isFailed
, this field contains a description of the error.default LabelingJobSummary.Builder
inputConfig
(Consumer<LabelingJobInputConfig.Builder> inputConfig) Input configuration for the labeling job.inputConfig
(LabelingJobInputConfig inputConfig) Input configuration for the labeling job.default LabelingJobSummary.Builder
labelCounters
(Consumer<LabelCounters.Builder> labelCounters) Counts showing the progress of the labeling job.labelCounters
(LabelCounters labelCounters) Counts showing the progress of the labeling job.labelingJobArn
(String labelingJobArn) The Amazon Resource Name (ARN) assigned to the labeling job when it was created.labelingJobName
(String labelingJobName) The name of the labeling job.default LabelingJobSummary.Builder
labelingJobOutput
(Consumer<LabelingJobOutput.Builder> labelingJobOutput) The location of the output produced by the labeling job.labelingJobOutput
(LabelingJobOutput labelingJobOutput) The location of the output produced by the labeling job.labelingJobStatus
(String labelingJobStatus) The current status of the labeling job.labelingJobStatus
(LabelingJobStatus labelingJobStatus) The current status of the labeling job.lastModifiedTime
(Instant lastModifiedTime) The date and time that the job was last modified (timestamp).preHumanTaskLambdaArn
(String preHumanTaskLambdaArn) The Amazon Resource Name (ARN) of a Lambda function.workteamArn
(String workteamArn) The Amazon Resource Name (ARN) of the work team assigned to 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, sdkFields
-
Method Details
-
labelingJobName
The name of the labeling job.
- Parameters:
labelingJobName
- The name of the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobArn
The Amazon Resource Name (ARN) assigned to the labeling job when it was created.
- Parameters:
labelingJobArn
- The Amazon Resource Name (ARN) assigned to the labeling job when it was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time that the job was created (timestamp).
- Parameters:
creationTime
- The date and time that the job was created (timestamp).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The date and time that the job was last modified (timestamp).
- Parameters:
lastModifiedTime
- The date and time that the job was last modified (timestamp).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobStatus
The current status of the labeling job.
- Parameters:
labelingJobStatus
- The current status of the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
labelingJobStatus
The current status of the labeling job.
- Parameters:
labelingJobStatus
- The current status of the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
labelCounters
Counts showing the progress of the labeling job.
- Parameters:
labelCounters
- Counts showing the progress of the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelCounters
Counts showing the progress of the labeling job.
This is a convenience method that creates an instance of theLabelCounters.Builder
avoiding the need to create one manually viaLabelCounters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolabelCounters(LabelCounters)
.- Parameters:
labelCounters
- a consumer that will call methods onLabelCounters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workteamArn
The Amazon Resource Name (ARN) of the work team assigned to the job.
- Parameters:
workteamArn
- The Amazon Resource Name (ARN) of the work team assigned to the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preHumanTaskLambdaArn
The Amazon Resource Name (ARN) of a Lambda function. The function is run before each data object is sent to a worker.
- Parameters:
preHumanTaskLambdaArn
- The Amazon Resource Name (ARN) of a Lambda function. The function is run before each data object is sent to a worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotationConsolidationLambdaArn
LabelingJobSummary.Builder annotationConsolidationLambdaArn(String annotationConsolidationLambdaArn) The Amazon Resource Name (ARN) of the Lambda function used to consolidate the annotations from individual workers into a label for a data object. For more information, see Annotation Consolidation.
- Parameters:
annotationConsolidationLambdaArn
- The Amazon Resource Name (ARN) of the Lambda function used to consolidate the annotations from individual workers into a label for a data object. For more information, see Annotation Consolidation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If the
LabelingJobStatus
field isFailed
, this field contains a description of the error.- Parameters:
failureReason
- If theLabelingJobStatus
field isFailed
, this field contains a description of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobOutput
The location of the output produced by the labeling job.
- Parameters:
labelingJobOutput
- The location of the output produced by the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobOutput
default LabelingJobSummary.Builder labelingJobOutput(Consumer<LabelingJobOutput.Builder> labelingJobOutput) The location of the output produced by the labeling job.
This is a convenience method that creates an instance of theLabelingJobOutput.Builder
avoiding the need to create one manually viaLabelingJobOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolabelingJobOutput(LabelingJobOutput)
.- Parameters:
labelingJobOutput
- a consumer that will call methods onLabelingJobOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputConfig
Input configuration for the labeling job.
- Parameters:
inputConfig
- Input configuration for the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfig
default LabelingJobSummary.Builder inputConfig(Consumer<LabelingJobInputConfig.Builder> inputConfig) Input configuration for the labeling job.
This is a convenience method that creates an instance of theLabelingJobInputConfig.Builder
avoiding the need to create one manually viaLabelingJobInputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputConfig(LabelingJobInputConfig)
.- Parameters:
inputConfig
- a consumer that will call methods onLabelingJobInputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-