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.BuilderannotationConsolidationLambdaArn(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.BuildercreationTime(Instant creationTime)The date and time that the job was created (timestamp).LabelingJobSummary.BuilderfailureReason(String failureReason)If theLabelingJobStatusfield isFailed, this field contains a description of the error.default LabelingJobSummary.BuilderinputConfig(Consumer<LabelingJobInputConfig.Builder> inputConfig)Input configuration for the labeling job.LabelingJobSummary.BuilderinputConfig(LabelingJobInputConfig inputConfig)Input configuration for the labeling job.default LabelingJobSummary.BuilderlabelCounters(Consumer<LabelCounters.Builder> labelCounters)Counts showing the progress of the labeling job.LabelingJobSummary.BuilderlabelCounters(LabelCounters labelCounters)Counts showing the progress of the labeling job.LabelingJobSummary.BuilderlabelingJobArn(String labelingJobArn)The Amazon Resource Name (ARN) assigned to the labeling job when it was created.LabelingJobSummary.BuilderlabelingJobName(String labelingJobName)The name of the labeling job.default LabelingJobSummary.BuilderlabelingJobOutput(Consumer<LabelingJobOutput.Builder> labelingJobOutput)The location of the output produced by the labeling job.LabelingJobSummary.BuilderlabelingJobOutput(LabelingJobOutput labelingJobOutput)The location of the output produced by the labeling job.LabelingJobSummary.BuilderlabelingJobStatus(String labelingJobStatus)The current status of the labeling job.LabelingJobSummary.BuilderlabelingJobStatus(LabelingJobStatus labelingJobStatus)The current status of the labeling job.LabelingJobSummary.BuilderlastModifiedTime(Instant lastModifiedTime)The date and time that the job was last modified (timestamp).LabelingJobSummary.BuilderpreHumanTaskLambdaArn(String preHumanTaskLambdaArn)The Amazon Resource Name (ARN) of a Lambda function.LabelingJobSummary.BuilderworkteamArn(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.Builderavoiding the need to create one manually viaLabelCounters.builder().When the
Consumercompletes,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
LabelingJobStatusfield isFailed, this field contains a description of the error.- Parameters:
failureReason- If theLabelingJobStatusfield 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.Builderavoiding the need to create one manually viaLabelingJobOutput.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLabelingJobInputConfig.builder().When the
Consumercompletes,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)
-
-