Interface LabelingJobSummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LabelingJobSummary.Builder,LabelingJobSummary>
,SdkBuilder<LabelingJobSummary.Builder,LabelingJobSummary>
,SdkPojo
- Enclosing class:
- LabelingJobSummary
public static interface LabelingJobSummary.Builder extends SdkPojo, CopyableBuilder<LabelingJobSummary.Builder,LabelingJobSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description 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.LabelingJobSummary.Builder
creationTime(Instant creationTime)
The date and time that the job was created (timestamp).LabelingJobSummary.Builder
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.LabelingJobSummary.Builder
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.LabelingJobSummary.Builder
labelCounters(LabelCounters labelCounters)
Counts showing the progress of the labeling job.LabelingJobSummary.Builder
labelingJobArn(String labelingJobArn)
The Amazon Resource Name (ARN) assigned to the labeling job when it was created.LabelingJobSummary.Builder
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.LabelingJobSummary.Builder
labelingJobOutput(LabelingJobOutput labelingJobOutput)
The location of the output produced by the labeling job.LabelingJobSummary.Builder
labelingJobStatus(String labelingJobStatus)
The current status of the labeling job.LabelingJobSummary.Builder
labelingJobStatus(LabelingJobStatus labelingJobStatus)
The current status of the labeling job.LabelingJobSummary.Builder
lastModifiedTime(Instant lastModifiedTime)
The date and time that the job was last modified (timestamp).LabelingJobSummary.Builder
preHumanTaskLambdaArn(String preHumanTaskLambdaArn)
The Amazon Resource Name (ARN) of a Lambda function.LabelingJobSummary.Builder
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 Detail
-
labelingJobName
LabelingJobSummary.Builder labelingJobName(String 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
LabelingJobSummary.Builder labelingJobArn(String 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
LabelingJobSummary.Builder creationTime(Instant 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
LabelingJobSummary.Builder lastModifiedTime(Instant 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
LabelingJobSummary.Builder labelingJobStatus(String 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
,LabelingJobStatus
-
labelingJobStatus
LabelingJobSummary.Builder labelingJobStatus(LabelingJobStatus 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
,LabelingJobStatus
-
labelCounters
LabelingJobSummary.Builder labelCounters(LabelCounters 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
default LabelingJobSummary.Builder labelCounters(Consumer<LabelCounters.Builder> 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:
labelCounters(LabelCounters)
-
workteamArn
LabelingJobSummary.Builder workteamArn(String 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
LabelingJobSummary.Builder preHumanTaskLambdaArn(String 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
LabelingJobSummary.Builder failureReason(String 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
LabelingJobSummary.Builder labelingJobOutput(LabelingJobOutput 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:
labelingJobOutput(LabelingJobOutput)
-
inputConfig
LabelingJobSummary.Builder inputConfig(LabelingJobInputConfig 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:
inputConfig(LabelingJobInputConfig)
-
-