Interface HumanLoopConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HumanLoopConfig.Builder,
,HumanLoopConfig> SdkBuilder<HumanLoopConfig.Builder,
,HumanLoopConfig> SdkPojo
- Enclosing class:
HumanLoopConfig
-
Method Summary
Modifier and TypeMethodDescriptionhumanTaskUiArn
(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.publicWorkforceTaskPrice
(PublicWorkforceTaskPrice publicWorkforceTaskPrice) Sets the value of the PublicWorkforceTaskPrice property for this object.taskAvailabilityLifetimeInSeconds
(Integer taskAvailabilityLifetimeInSeconds) The length of time that a task remains available for review by human workers.The number of distinct workers who will perform the same task on each object.taskDescription
(String taskDescription) A description for the human worker task.taskKeywords
(String... taskKeywords) Keywords used to describe the task so that workers can discover the task.taskKeywords
(Collection<String> taskKeywords) Keywords used to describe the task so that workers can discover the task.taskTimeLimitInSeconds
(Integer taskTimeLimitInSeconds) The amount of time that a worker has to complete a task.A title for the human worker task.workteamArn
(String workteamArn) Amazon Resource Name (ARN) of a team of workers.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
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskTitle
A title for the human worker task.
- Parameters:
taskTitle
- A title for the human worker task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDescription
A description for the human worker task.
- Parameters:
taskDescription
- A description for the human worker task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskCount
The number of distinct workers who will perform the same task on each object. For example, if
TaskCount
is set to3
for an image classification labeling job, three workers will classify each input image. IncreasingTaskCount
can improve label accuracy.- Parameters:
taskCount
- The number of distinct workers who will perform the same task on each object. For example, ifTaskCount
is set to3
for an image classification labeling job, three workers will classify each input image. IncreasingTaskCount
can improve label accuracy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskAvailabilityLifetimeInSeconds
HumanLoopConfig.Builder taskAvailabilityLifetimeInSeconds(Integer taskAvailabilityLifetimeInSeconds) The length of time that a task remains available for review by human workers.
- Parameters:
taskAvailabilityLifetimeInSeconds
- The length of time that a task remains available for review by human workers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskTimeLimitInSeconds
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
- Parameters:
taskTimeLimitInSeconds
- The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskKeywords
Keywords used to describe the task so that workers can discover the task.
- Parameters:
taskKeywords
- Keywords used to describe the task so that workers can discover the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskKeywords
Keywords used to describe the task so that workers can discover the task.
- Parameters:
taskKeywords
- Keywords used to describe the task so that workers can discover the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicWorkforceTaskPrice
Sets the value of the PublicWorkforceTaskPrice property for this object.- Parameters:
publicWorkforceTaskPrice
- The new value for the PublicWorkforceTaskPrice property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicWorkforceTaskPrice
default HumanLoopConfig.Builder publicWorkforceTaskPrice(Consumer<PublicWorkforceTaskPrice.Builder> publicWorkforceTaskPrice) Sets the value of the PublicWorkforceTaskPrice property for this object. This is a convenience method that creates an instance of thePublicWorkforceTaskPrice.Builder
avoiding the need to create one manually viaPublicWorkforceTaskPrice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicWorkforceTaskPrice(PublicWorkforceTaskPrice)
.- Parameters:
publicWorkforceTaskPrice
- a consumer that will call methods onPublicWorkforceTaskPrice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-