Struct aws_sdk_sagemaker::model::human_loop_config::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for HumanLoopConfig
Implementations
sourceimpl Builder
impl Builder
sourcepub fn workteam_arn(self, input: impl Into<String>) -> Self
pub fn workteam_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_workteam_arn(self, input: Option<String>) -> Self
pub fn set_workteam_arn(self, input: Option<String>) -> Self
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.
sourcepub fn human_task_ui_arn(self, input: impl Into<String>) -> Self
pub fn human_task_ui_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_human_task_ui_arn(self, input: Option<String>) -> Self
pub fn set_human_task_ui_arn(self, input: Option<String>) -> Self
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.
sourcepub fn task_title(self, input: impl Into<String>) -> Self
pub fn task_title(self, input: impl Into<String>) -> Self
A title for the human worker task.
sourcepub fn set_task_title(self, input: Option<String>) -> Self
pub fn set_task_title(self, input: Option<String>) -> Self
A title for the human worker task.
sourcepub fn task_description(self, input: impl Into<String>) -> Self
pub fn task_description(self, input: impl Into<String>) -> Self
A description for the human worker task.
sourcepub fn set_task_description(self, input: Option<String>) -> Self
pub fn set_task_description(self, input: Option<String>) -> Self
A description for the human worker task.
sourcepub fn task_count(self, input: i32) -> Self
pub fn task_count(self, input: i32) -> Self
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.
sourcepub fn set_task_count(self, input: Option<i32>) -> Self
pub fn set_task_count(self, input: Option<i32>) -> Self
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.
sourcepub fn task_availability_lifetime_in_seconds(self, input: i32) -> Self
pub fn task_availability_lifetime_in_seconds(self, input: i32) -> Self
The length of time that a task remains available for review by human workers.
sourcepub fn set_task_availability_lifetime_in_seconds(
self,
input: Option<i32>
) -> Self
pub fn set_task_availability_lifetime_in_seconds(
self,
input: Option<i32>
) -> Self
The length of time that a task remains available for review by human workers.
sourcepub fn task_time_limit_in_seconds(self, input: i32) -> Self
pub fn task_time_limit_in_seconds(self, input: i32) -> Self
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
sourcepub fn set_task_time_limit_in_seconds(self, input: Option<i32>) -> Self
pub fn set_task_time_limit_in_seconds(self, input: Option<i32>) -> Self
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
sourcepub fn task_keywords(self, input: impl Into<String>) -> Self
pub fn task_keywords(self, input: impl Into<String>) -> Self
Appends an item to task_keywords
.
To override the contents of this collection use set_task_keywords
.
Keywords used to describe the task so that workers can discover the task.
sourcepub fn set_task_keywords(self, input: Option<Vec<String>>) -> Self
pub fn set_task_keywords(self, input: Option<Vec<String>>) -> Self
Keywords used to describe the task so that workers can discover the task.
sourcepub fn public_workforce_task_price(
self,
input: PublicWorkforceTaskPrice
) -> Self
pub fn public_workforce_task_price(
self,
input: PublicWorkforceTaskPrice
) -> Self
Defines the amount of money paid to an Amazon Mechanical Turk worker for each task performed.
Use one of the following prices for bounding box tasks. Prices are in US dollars and should be based on the complexity of the task; the longer it takes in your initial testing, the more you should offer.
-
0.036
-
0.048
-
0.060
-
0.072
-
0.120
-
0.240
-
0.360
-
0.480
-
0.600
-
0.720
-
0.840
-
0.960
-
1.080
-
1.200
Use one of the following prices for image classification, text classification, and custom tasks. Prices are in US dollars.
-
0.012
-
0.024
-
0.036
-
0.048
-
0.060
-
0.072
-
0.120
-
0.240
-
0.360
-
0.480
-
0.600
-
0.720
-
0.840
-
0.960
-
1.080
-
1.200
Use one of the following prices for semantic segmentation tasks. Prices are in US dollars.
-
0.840
-
0.960
-
1.080
-
1.200
Use one of the following prices for Textract AnalyzeDocument Important Form Key Amazon Augmented AI review tasks. Prices are in US dollars.
-
2.400
-
2.280
-
2.160
-
2.040
-
1.920
-
1.800
-
1.680
-
1.560
-
1.440
-
1.320
-
1.200
-
1.080
-
0.960
-
0.840
-
0.720
-
0.600
-
0.480
-
0.360
-
0.240
-
0.120
-
0.072
-
0.060
-
0.048
-
0.036
-
0.024
-
0.012
Use one of the following prices for Rekognition DetectModerationLabels Amazon Augmented AI review tasks. Prices are in US dollars.
-
1.200
-
1.080
-
0.960
-
0.840
-
0.720
-
0.600
-
0.480
-
0.360
-
0.240
-
0.120
-
0.072
-
0.060
-
0.048
-
0.036
-
0.024
-
0.012
Use one of the following prices for Amazon Augmented AI custom human review tasks. Prices are in US dollars.
-
1.200
-
1.080
-
0.960
-
0.840
-
0.720
-
0.600
-
0.480
-
0.360
-
0.240
-
0.120
-
0.072
-
0.060
-
0.048
-
0.036
-
0.024
-
0.012
sourcepub fn set_public_workforce_task_price(
self,
input: Option<PublicWorkforceTaskPrice>
) -> Self
pub fn set_public_workforce_task_price(
self,
input: Option<PublicWorkforceTaskPrice>
) -> Self
Defines the amount of money paid to an Amazon Mechanical Turk worker for each task performed.
Use one of the following prices for bounding box tasks. Prices are in US dollars and should be based on the complexity of the task; the longer it takes in your initial testing, the more you should offer.
-
0.036
-
0.048
-
0.060
-
0.072
-
0.120
-
0.240
-
0.360
-
0.480
-
0.600
-
0.720
-
0.840
-
0.960
-
1.080
-
1.200
Use one of the following prices for image classification, text classification, and custom tasks. Prices are in US dollars.
-
0.012
-
0.024
-
0.036
-
0.048
-
0.060
-
0.072
-
0.120
-
0.240
-
0.360
-
0.480
-
0.600
-
0.720
-
0.840
-
0.960
-
1.080
-
1.200
Use one of the following prices for semantic segmentation tasks. Prices are in US dollars.
-
0.840
-
0.960
-
1.080
-
1.200
Use one of the following prices for Textract AnalyzeDocument Important Form Key Amazon Augmented AI review tasks. Prices are in US dollars.
-
2.400
-
2.280
-
2.160
-
2.040
-
1.920
-
1.800
-
1.680
-
1.560
-
1.440
-
1.320
-
1.200
-
1.080
-
0.960
-
0.840
-
0.720
-
0.600
-
0.480
-
0.360
-
0.240
-
0.120
-
0.072
-
0.060
-
0.048
-
0.036
-
0.024
-
0.012
Use one of the following prices for Rekognition DetectModerationLabels Amazon Augmented AI review tasks. Prices are in US dollars.
-
1.200
-
1.080
-
0.960
-
0.840
-
0.720
-
0.600
-
0.480
-
0.360
-
0.240
-
0.120
-
0.072
-
0.060
-
0.048
-
0.036
-
0.024
-
0.012
Use one of the following prices for Amazon Augmented AI custom human review tasks. Prices are in US dollars.
-
1.200
-
1.080
-
0.960
-
0.840
-
0.720
-
0.600
-
0.480
-
0.360
-
0.240
-
0.120
-
0.072
-
0.060
-
0.048
-
0.036
-
0.024
-
0.012
sourcepub fn build(self) -> HumanLoopConfig
pub fn build(self) -> HumanLoopConfig
Consumes the builder and constructs a HumanLoopConfig
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more