@Generated(value="software.amazon.awssdk:codegen") public final class HumanLoopConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HumanLoopConfig.Builder,HumanLoopConfig>
Describes the work to be performed by human workers.
Modifier and Type | Class and Description |
---|---|
static interface |
HumanLoopConfig.Builder |
Modifier and Type | Method and Description |
---|---|
static HumanLoopConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTaskKeywords()
For responses, this returns true if the service returned a value for the TaskKeywords property.
|
String |
humanTaskUiArn()
The Amazon Resource Name (ARN) of the human task user interface.
|
PublicWorkforceTaskPrice |
publicWorkforceTaskPrice()
Returns the value of the PublicWorkforceTaskPrice property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HumanLoopConfig.Builder> |
serializableBuilderClass() |
Integer |
taskAvailabilityLifetimeInSeconds()
The length of time that a task remains available for review by human workers.
|
Integer |
taskCount()
The number of distinct workers who will perform the same task on each object.
|
String |
taskDescription()
A description for the human worker task.
|
List<String> |
taskKeywords()
Keywords used to describe the task so that workers can discover the task.
|
Integer |
taskTimeLimitInSeconds()
The amount of time that a worker has to complete a task.
|
String |
taskTitle()
A title for the human worker task.
|
HumanLoopConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workteamArn()
Amazon Resource Name (ARN) of a team of workers.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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.
public final 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.
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.
public final String taskTitle()
A title for the human worker task.
public final String taskDescription()
A description for the human worker task.
public final 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
is set to 3
for an image classification labeling job, three workers
will classify each input image. Increasing TaskCount
can improve label accuracy.public final Integer taskAvailabilityLifetimeInSeconds()
The length of time that a task remains available for review by human workers.
public final Integer taskTimeLimitInSeconds()
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
public final boolean hasTaskKeywords()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> taskKeywords()
Keywords used to describe the task so that workers can discover the task.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTaskKeywords()
method.
public final PublicWorkforceTaskPrice publicWorkforceTaskPrice()
public HumanLoopConfig.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<HumanLoopConfig.Builder,HumanLoopConfig>
public static HumanLoopConfig.Builder builder()
public static Class<? extends HumanLoopConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.