@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HumanLoopConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes the work to be performed by human workers.
Constructor and Description |
---|
HumanLoopConfig() |
Modifier and Type | Method and Description |
---|---|
HumanLoopConfig |
clone() |
boolean |
equals(Object obj) |
String |
getHumanTaskUiArn()
The Amazon Resource Name (ARN) of the human task user interface.
|
PublicWorkforceTaskPrice |
getPublicWorkforceTaskPrice() |
Integer |
getTaskAvailabilityLifetimeInSeconds()
The length of time that a task remains available for review by human workers.
|
Integer |
getTaskCount()
The number of distinct workers who will perform the same task on each object.
|
String |
getTaskDescription()
A description for the human worker task.
|
List<String> |
getTaskKeywords()
Keywords used to describe the task so that workers can discover the task.
|
Integer |
getTaskTimeLimitInSeconds()
The amount of time that a worker has to complete a task.
|
String |
getTaskTitle()
A title for the human worker task.
|
String |
getWorkteamArn()
Amazon Resource Name (ARN) of a team of workers.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHumanTaskUiArn(String humanTaskUiArn)
The Amazon Resource Name (ARN) of the human task user interface.
|
void |
setPublicWorkforceTaskPrice(PublicWorkforceTaskPrice publicWorkforceTaskPrice) |
void |
setTaskAvailabilityLifetimeInSeconds(Integer taskAvailabilityLifetimeInSeconds)
The length of time that a task remains available for review by human workers.
|
void |
setTaskCount(Integer taskCount)
The number of distinct workers who will perform the same task on each object.
|
void |
setTaskDescription(String taskDescription)
A description for the human worker task.
|
void |
setTaskKeywords(Collection<String> taskKeywords)
Keywords used to describe the task so that workers can discover the task.
|
void |
setTaskTimeLimitInSeconds(Integer taskTimeLimitInSeconds)
The amount of time that a worker has to complete a task.
|
void |
setTaskTitle(String taskTitle)
A title for the human worker task.
|
void |
setWorkteamArn(String workteamArn)
Amazon Resource Name (ARN) of a team of workers.
|
String |
toString()
Returns a string representation of this object.
|
HumanLoopConfig |
withHumanTaskUiArn(String humanTaskUiArn)
The Amazon Resource Name (ARN) of the human task user interface.
|
HumanLoopConfig |
withPublicWorkforceTaskPrice(PublicWorkforceTaskPrice publicWorkforceTaskPrice) |
HumanLoopConfig |
withTaskAvailabilityLifetimeInSeconds(Integer taskAvailabilityLifetimeInSeconds)
The length of time that a task remains available for review by human workers.
|
HumanLoopConfig |
withTaskCount(Integer taskCount)
The number of distinct workers who will perform the same task on each object.
|
HumanLoopConfig |
withTaskDescription(String taskDescription)
A description for the human worker task.
|
HumanLoopConfig |
withTaskKeywords(Collection<String> taskKeywords)
Keywords used to describe the task so that workers can discover the task.
|
HumanLoopConfig |
withTaskKeywords(String... taskKeywords)
Keywords used to describe the task so that workers can discover the task.
|
HumanLoopConfig |
withTaskTimeLimitInSeconds(Integer taskTimeLimitInSeconds)
The amount of time that a worker has to complete a task.
|
HumanLoopConfig |
withTaskTitle(String taskTitle)
A title for the human worker task.
|
HumanLoopConfig |
withWorkteamArn(String workteamArn)
Amazon Resource Name (ARN) of a team of workers.
|
public void setWorkteamArn(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.public String getWorkteamArn()
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 HumanLoopConfig withWorkteamArn(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.public void setHumanTaskUiArn(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.
public String getHumanTaskUiArn()
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 HumanLoopConfig withHumanTaskUiArn(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.
public void setTaskTitle(String taskTitle)
A title for the human worker task.
taskTitle
- A title for the human worker task.public String getTaskTitle()
A title for the human worker task.
public HumanLoopConfig withTaskTitle(String taskTitle)
A title for the human worker task.
taskTitle
- A title for the human worker task.public void setTaskDescription(String taskDescription)
A description for the human worker task.
taskDescription
- A description for the human worker task.public String getTaskDescription()
A description for the human worker task.
public HumanLoopConfig withTaskDescription(String taskDescription)
A description for the human worker task.
taskDescription
- A description for the human worker task.public void setTaskCount(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.public Integer getTaskCount()
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 HumanLoopConfig withTaskCount(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.public void setTaskAvailabilityLifetimeInSeconds(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.public Integer getTaskAvailabilityLifetimeInSeconds()
The length of time that a task remains available for review by human workers.
public HumanLoopConfig withTaskAvailabilityLifetimeInSeconds(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.public void setTaskTimeLimitInSeconds(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).public Integer getTaskTimeLimitInSeconds()
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
public HumanLoopConfig withTaskTimeLimitInSeconds(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).public List<String> getTaskKeywords()
Keywords used to describe the task so that workers can discover the task.
public void setTaskKeywords(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.public HumanLoopConfig withTaskKeywords(String... taskKeywords)
Keywords used to describe the task so that workers can discover the task.
NOTE: This method appends the values to the existing list (if any). Use
setTaskKeywords(java.util.Collection)
or withTaskKeywords(java.util.Collection)
if you want to
override the existing values.
taskKeywords
- Keywords used to describe the task so that workers can discover the task.public HumanLoopConfig withTaskKeywords(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.public void setPublicWorkforceTaskPrice(PublicWorkforceTaskPrice publicWorkforceTaskPrice)
publicWorkforceTaskPrice
- public PublicWorkforceTaskPrice getPublicWorkforceTaskPrice()
public HumanLoopConfig withPublicWorkforceTaskPrice(PublicWorkforceTaskPrice publicWorkforceTaskPrice)
publicWorkforceTaskPrice
- public String toString()
toString
in class Object
Object.toString()
public HumanLoopConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.