public static interface HumanLoopConfig.Builder extends SdkPojo, CopyableBuilder<HumanLoopConfig.Builder,HumanLoopConfig>
Modifier and Type | Method and Description |
---|---|
HumanLoopConfig.Builder |
humanTaskUiArn(String humanTaskUiArn)
The Amazon Resource Name (ARN) of the human task user interface.
|
default HumanLoopConfig.Builder |
publicWorkforceTaskPrice(Consumer<PublicWorkforceTaskPrice.Builder> publicWorkforceTaskPrice)
Sets the value of the PublicWorkforceTaskPrice property for this object.
|
HumanLoopConfig.Builder |
publicWorkforceTaskPrice(PublicWorkforceTaskPrice publicWorkforceTaskPrice)
Sets the value of the PublicWorkforceTaskPrice property for this object.
|
HumanLoopConfig.Builder |
taskAvailabilityLifetimeInSeconds(Integer taskAvailabilityLifetimeInSeconds)
The length of time that a task remains available for review by human workers.
|
HumanLoopConfig.Builder |
taskCount(Integer taskCount)
The number of distinct workers who will perform the same task on each object.
|
HumanLoopConfig.Builder |
taskDescription(String taskDescription)
A description for the human worker task.
|
HumanLoopConfig.Builder |
taskKeywords(Collection<String> taskKeywords)
Keywords used to describe the task so that workers can discover the task.
|
HumanLoopConfig.Builder |
taskKeywords(String... taskKeywords)
Keywords used to describe the task so that workers can discover the task.
|
HumanLoopConfig.Builder |
taskTimeLimitInSeconds(Integer taskTimeLimitInSeconds)
The amount of time that a worker has to complete a task.
|
HumanLoopConfig.Builder |
taskTitle(String taskTitle)
A title for the human worker task.
|
HumanLoopConfig.Builder |
workteamArn(String workteamArn)
Amazon Resource Name (ARN) of a team of workers.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
HumanLoopConfig.Builder workteamArn(String workteamArn)
Amazon Resource Name (ARN) of a team of workers. To learn more about the types of workforces and work teams you can create and use with Amazon A2I, see Create and Manage Workforces.
workteamArn
- Amazon Resource Name (ARN) of a team of workers. To learn more about the types of workforces and work
teams you can create and use with Amazon A2I, see Create and Manage
Workforces.HumanLoopConfig.Builder humanTaskUiArn(String humanTaskUiArn)
The Amazon Resource Name (ARN) of the human task user interface.
You can use standard HTML and Crowd HTML Elements to create a custom worker task template. You use this template to create a human task UI.
To learn how to create a custom HTML template, see Create Custom Worker Task Template.
To learn how to create a human task UI, which is a worker task template that can be used in a flow definition, see Create and Delete a Worker Task Templates.
humanTaskUiArn
- The Amazon Resource Name (ARN) of the human task user interface.
You can use standard HTML and Crowd HTML Elements to create a custom worker task template. You use this template to create a human task UI.
To learn how to create a custom HTML template, see Create Custom Worker Task Template.
To learn how to create a human task UI, which is a worker task template that can be used in a flow definition, see Create and Delete a Worker Task Templates.
HumanLoopConfig.Builder taskTitle(String taskTitle)
A title for the human worker task.
taskTitle
- A title for the human worker task.HumanLoopConfig.Builder taskDescription(String taskDescription)
A description for the human worker task.
taskDescription
- A description for the human worker task.HumanLoopConfig.Builder taskCount(Integer taskCount)
The number of distinct workers who will perform the same task on each object. For example, if
TaskCount
is set to 3
for an image classification labeling job, three workers will
classify each input image. Increasing TaskCount
can improve label accuracy.
taskCount
- The number of distinct workers who will perform the same task on each object. For example, if
TaskCount
is set to 3
for an image classification labeling job, three
workers will classify each input image. Increasing TaskCount
can improve label accuracy.HumanLoopConfig.Builder taskAvailabilityLifetimeInSeconds(Integer taskAvailabilityLifetimeInSeconds)
The length of time that a task remains available for review by human workers.
taskAvailabilityLifetimeInSeconds
- The length of time that a task remains available for review by human workers.HumanLoopConfig.Builder taskTimeLimitInSeconds(Integer taskTimeLimitInSeconds)
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
taskTimeLimitInSeconds
- The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).HumanLoopConfig.Builder taskKeywords(Collection<String> taskKeywords)
Keywords used to describe the task so that workers can discover the task.
taskKeywords
- Keywords used to describe the task so that workers can discover the task.HumanLoopConfig.Builder taskKeywords(String... taskKeywords)
Keywords used to describe the task so that workers can discover the task.
taskKeywords
- Keywords used to describe the task so that workers can discover the task.HumanLoopConfig.Builder publicWorkforceTaskPrice(PublicWorkforceTaskPrice publicWorkforceTaskPrice)
publicWorkforceTaskPrice
- The new value for the PublicWorkforceTaskPrice property for this object.default HumanLoopConfig.Builder publicWorkforceTaskPrice(Consumer<PublicWorkforceTaskPrice.Builder> publicWorkforceTaskPrice)
PublicWorkforceTaskPrice.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 © 2022. All rights reserved.