Struct aws_sdk_textract::types::builders::HumanLoopConfigBuilder
source · #[non_exhaustive]pub struct HumanLoopConfigBuilder { /* private fields */ }
Expand description
A builder for HumanLoopConfig
.
Implementations§
source§impl HumanLoopConfigBuilder
impl HumanLoopConfigBuilder
sourcepub fn human_loop_name(self, input: impl Into<String>) -> Self
pub fn human_loop_name(self, input: impl Into<String>) -> Self
The name of the human workflow used for this image. This should be kept unique within a region.
This field is required.sourcepub fn set_human_loop_name(self, input: Option<String>) -> Self
pub fn set_human_loop_name(self, input: Option<String>) -> Self
The name of the human workflow used for this image. This should be kept unique within a region.
sourcepub fn get_human_loop_name(&self) -> &Option<String>
pub fn get_human_loop_name(&self) -> &Option<String>
The name of the human workflow used for this image. This should be kept unique within a region.
sourcepub fn flow_definition_arn(self, input: impl Into<String>) -> Self
pub fn flow_definition_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the flow definition.
This field is required.sourcepub fn set_flow_definition_arn(self, input: Option<String>) -> Self
pub fn set_flow_definition_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the flow definition.
sourcepub fn get_flow_definition_arn(&self) -> &Option<String>
pub fn get_flow_definition_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the flow definition.
sourcepub fn data_attributes(self, input: HumanLoopDataAttributes) -> Self
pub fn data_attributes(self, input: HumanLoopDataAttributes) -> Self
Sets attributes of the input data.
sourcepub fn set_data_attributes(self, input: Option<HumanLoopDataAttributes>) -> Self
pub fn set_data_attributes(self, input: Option<HumanLoopDataAttributes>) -> Self
Sets attributes of the input data.
sourcepub fn get_data_attributes(&self) -> &Option<HumanLoopDataAttributes>
pub fn get_data_attributes(&self) -> &Option<HumanLoopDataAttributes>
Sets attributes of the input data.
sourcepub fn build(self) -> Result<HumanLoopConfig, BuildError>
pub fn build(self) -> Result<HumanLoopConfig, BuildError>
Consumes the builder and constructs a HumanLoopConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for HumanLoopConfigBuilder
impl Clone for HumanLoopConfigBuilder
source§fn clone(&self) -> HumanLoopConfigBuilder
fn clone(&self) -> HumanLoopConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HumanLoopConfigBuilder
impl Debug for HumanLoopConfigBuilder
source§impl Default for HumanLoopConfigBuilder
impl Default for HumanLoopConfigBuilder
source§fn default() -> HumanLoopConfigBuilder
fn default() -> HumanLoopConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HumanLoopConfigBuilder
impl PartialEq for HumanLoopConfigBuilder
source§fn eq(&self, other: &HumanLoopConfigBuilder) -> bool
fn eq(&self, other: &HumanLoopConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HumanLoopConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for HumanLoopConfigBuilder
impl Send for HumanLoopConfigBuilder
impl Sync for HumanLoopConfigBuilder
impl Unpin for HumanLoopConfigBuilder
impl UnwindSafe for HumanLoopConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.