Class HumanLoopConfig
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<HumanLoopConfig.Builder,
HumanLoopConfig>
Describes the work to be performed by human workers.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HumanLoopConfig.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the TaskKeywords property.final String
The Amazon Resource Name (ARN) of the human task user interface.final PublicWorkforceTaskPrice
Returns the value of the PublicWorkforceTaskPrice property for this object.static Class
<? extends HumanLoopConfig.Builder> final Integer
The length of time that a task remains available for review by human workers.final Integer
The number of distinct workers who will perform the same task on each object.final String
A description for the human worker task.Keywords used to describe the task so that workers can discover the task.final Integer
The amount of time that a worker has to complete a task.final String
A title for the human worker task.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
Amazon Resource Name (ARN) of a team of workers.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
- Returns:
- 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.
-
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:
- 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.
-
taskTitle
A title for the human worker task.
- Returns:
- A title for the human worker task.
-
taskDescription
A description for the human worker task.
- Returns:
- A description for the human worker task.
-
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.- Returns:
- 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.
-
taskAvailabilityLifetimeInSeconds
The length of time that a task remains available for review by human workers.
- Returns:
- The length of time that a task remains available for review by human workers.
-
taskTimeLimitInSeconds
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
- Returns:
- The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
-
hasTaskKeywords
public final boolean hasTaskKeywords()For responses, this returns true if the service returned a value for the TaskKeywords property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- Keywords used to describe the task so that workers can discover the task.
-
publicWorkforceTaskPrice
Returns the value of the PublicWorkforceTaskPrice property for this object.- Returns:
- The value of the PublicWorkforceTaskPrice property for this object.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<HumanLoopConfig.Builder,
HumanLoopConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-