Interface HumanLoopConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HumanLoopConfig.Builder,HumanLoopConfig>, SdkBuilder<HumanLoopConfig.Builder,HumanLoopConfig>, SdkPojo
Enclosing class:
HumanLoopConfig

public static interface HumanLoopConfig.Builder extends SdkPojo, CopyableBuilder<HumanLoopConfig.Builder,HumanLoopConfig>
  • Method Details

    • workteamArn

      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.

      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

      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.

      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

      HumanLoopConfig.Builder taskTitle(String 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

      HumanLoopConfig.Builder taskDescription(String 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

      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.

      Parameters:
      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.
      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

      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).

      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

      HumanLoopConfig.Builder taskKeywords(Collection<String> 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

      HumanLoopConfig.Builder taskKeywords(String... 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

      HumanLoopConfig.Builder publicWorkforceTaskPrice(PublicWorkforceTaskPrice 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 the 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).

      Parameters:
      publicWorkforceTaskPrice - a consumer that will call methods on PublicWorkforceTaskPrice.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: