public static interface HumanTaskConfig.Builder extends SdkPojo, CopyableBuilder<HumanTaskConfig.Builder,HumanTaskConfig>
Modifier and Type | Method and Description |
---|---|
HumanTaskConfig.Builder |
annotationConsolidationConfig(AnnotationConsolidationConfig annotationConsolidationConfig)
Configures how labels are consolidated across human workers.
|
default HumanTaskConfig.Builder |
annotationConsolidationConfig(Consumer<AnnotationConsolidationConfig.Builder> annotationConsolidationConfig)
Configures how labels are consolidated across human workers.
|
HumanTaskConfig.Builder |
maxConcurrentTaskCount(Integer maxConcurrentTaskCount)
Defines the maximum number of data objects that can be labeled by human workers at the same time.
|
HumanTaskConfig.Builder |
numberOfHumanWorkersPerDataObject(Integer numberOfHumanWorkersPerDataObject)
The number of human workers that will label an object.
|
HumanTaskConfig.Builder |
preHumanTaskLambdaArn(String preHumanTaskLambdaArn)
The Amazon Resource Name (ARN) of a Lambda function that is run before a data object is sent to a human
worker.
|
default HumanTaskConfig.Builder |
publicWorkforceTaskPrice(Consumer<PublicWorkforceTaskPrice.Builder> publicWorkforceTaskPrice)
The price that you pay for each task performed by a public worker.
|
HumanTaskConfig.Builder |
publicWorkforceTaskPrice(PublicWorkforceTaskPrice publicWorkforceTaskPrice)
The price that you pay for each task performed by a public worker.
|
HumanTaskConfig.Builder |
taskAvailabilityLifetimeInSeconds(Integer taskAvailabilityLifetimeInSeconds)
The length of time that a task remains available for labelling by human workers.
|
HumanTaskConfig.Builder |
taskDescription(String taskDescription)
A description of the task for your human workers.
|
HumanTaskConfig.Builder |
taskKeywords(Collection<String> taskKeywords)
Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.
|
HumanTaskConfig.Builder |
taskKeywords(String... taskKeywords)
Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.
|
HumanTaskConfig.Builder |
taskTimeLimitInSeconds(Integer taskTimeLimitInSeconds)
The amount of time that a worker has to complete a task.
|
HumanTaskConfig.Builder |
taskTitle(String taskTitle)
A title for the task for your human workers.
|
default HumanTaskConfig.Builder |
uiConfig(Consumer<UiConfig.Builder> uiConfig)
Information about the user interface that workers use to complete the labeling task.
|
HumanTaskConfig.Builder |
uiConfig(UiConfig uiConfig)
Information about the user interface that workers use to complete the labeling task.
|
HumanTaskConfig.Builder |
workteamArn(String workteamArn)
The Amazon Resource Name (ARN) of the work team assigned to complete the tasks.
|
copy
applyMutation, build
HumanTaskConfig.Builder workteamArn(String workteamArn)
The Amazon Resource Name (ARN) of the work team assigned to complete the tasks.
workteamArn
- The Amazon Resource Name (ARN) of the work team assigned to complete the tasks.HumanTaskConfig.Builder uiConfig(UiConfig uiConfig)
Information about the user interface that workers use to complete the labeling task.
uiConfig
- Information about the user interface that workers use to complete the labeling task.default HumanTaskConfig.Builder uiConfig(Consumer<UiConfig.Builder> uiConfig)
Information about the user interface that workers use to complete the labeling task.
This is a convenience that creates an instance of theUiConfig.Builder
avoiding the need to create
one manually via UiConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to uiConfig(UiConfig)
.uiConfig
- a consumer that will call methods on UiConfig.Builder
uiConfig(UiConfig)
HumanTaskConfig.Builder preHumanTaskLambdaArn(String preHumanTaskLambdaArn)
The Amazon Resource Name (ARN) of a Lambda function that is run before a data object is sent to a human worker. Use this function to provide input to a custom labeling job.
preHumanTaskLambdaArn
- The Amazon Resource Name (ARN) of a Lambda function that is run before a data object is sent to a
human worker. Use this function to provide input to a custom labeling job.HumanTaskConfig.Builder taskKeywords(Collection<String> taskKeywords)
Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.
taskKeywords
- Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.HumanTaskConfig.Builder taskKeywords(String... taskKeywords)
Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.
taskKeywords
- Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.HumanTaskConfig.Builder taskTitle(String taskTitle)
A title for the task for your human workers.
taskTitle
- A title for the task for your human workers.HumanTaskConfig.Builder taskDescription(String taskDescription)
A description of the task for your human workers.
taskDescription
- A description of the task for your human workers.HumanTaskConfig.Builder numberOfHumanWorkersPerDataObject(Integer numberOfHumanWorkersPerDataObject)
The number of human workers that will label an object.
numberOfHumanWorkersPerDataObject
- The number of human workers that will label an object.HumanTaskConfig.Builder taskTimeLimitInSeconds(Integer taskTimeLimitInSeconds)
The amount of time that a worker has to complete a task.
taskTimeLimitInSeconds
- The amount of time that a worker has to complete a task.HumanTaskConfig.Builder taskAvailabilityLifetimeInSeconds(Integer taskAvailabilityLifetimeInSeconds)
The length of time that a task remains available for labelling by human workers.
taskAvailabilityLifetimeInSeconds
- The length of time that a task remains available for labelling by human workers.HumanTaskConfig.Builder maxConcurrentTaskCount(Integer maxConcurrentTaskCount)
Defines the maximum number of data objects that can be labeled by human workers at the same time. Each object may have more than one worker at one time.
maxConcurrentTaskCount
- Defines the maximum number of data objects that can be labeled by human workers at the same time. Each
object may have more than one worker at one time.HumanTaskConfig.Builder annotationConsolidationConfig(AnnotationConsolidationConfig annotationConsolidationConfig)
Configures how labels are consolidated across human workers.
annotationConsolidationConfig
- Configures how labels are consolidated across human workers.default HumanTaskConfig.Builder annotationConsolidationConfig(Consumer<AnnotationConsolidationConfig.Builder> annotationConsolidationConfig)
Configures how labels are consolidated across human workers.
This is a convenience that creates an instance of theAnnotationConsolidationConfig.Builder
avoiding
the need to create one manually via AnnotationConsolidationConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to annotationConsolidationConfig(AnnotationConsolidationConfig)
.annotationConsolidationConfig
- a consumer that will call methods on AnnotationConsolidationConfig.Builder
annotationConsolidationConfig(AnnotationConsolidationConfig)
HumanTaskConfig.Builder publicWorkforceTaskPrice(PublicWorkforceTaskPrice publicWorkforceTaskPrice)
The price that you pay for each task performed by a public worker.
publicWorkforceTaskPrice
- The price that you pay for each task performed by a public worker.default HumanTaskConfig.Builder publicWorkforceTaskPrice(Consumer<PublicWorkforceTaskPrice.Builder> publicWorkforceTaskPrice)
The price that you pay for each task performed by a public worker.
This is a convenience that creates an instance of thePublicWorkforceTaskPrice.Builder
avoiding the
need to create one manually via PublicWorkforceTaskPrice.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to publicWorkforceTaskPrice(PublicWorkforceTaskPrice)
.publicWorkforceTaskPrice
- a consumer that will call methods on PublicWorkforceTaskPrice.Builder
publicWorkforceTaskPrice(PublicWorkforceTaskPrice)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.