Struct aws_sdk_comprehend::types::builders::ChildBlockBuilder
source · #[non_exhaustive]pub struct ChildBlockBuilder { /* private fields */ }Expand description
A builder for ChildBlock.
Implementations§
source§impl ChildBlockBuilder
impl ChildBlockBuilder
sourcepub fn child_block_id(self, input: impl Into<String>) -> Self
pub fn child_block_id(self, input: impl Into<String>) -> Self
Unique identifier for the child block.
sourcepub fn set_child_block_id(self, input: Option<String>) -> Self
pub fn set_child_block_id(self, input: Option<String>) -> Self
Unique identifier for the child block.
sourcepub fn get_child_block_id(&self) -> &Option<String>
pub fn get_child_block_id(&self) -> &Option<String>
Unique identifier for the child block.
sourcepub fn begin_offset(self, input: i32) -> Self
pub fn begin_offset(self, input: i32) -> Self
Offset of the start of the child block within its parent block.
sourcepub fn set_begin_offset(self, input: Option<i32>) -> Self
pub fn set_begin_offset(self, input: Option<i32>) -> Self
Offset of the start of the child block within its parent block.
sourcepub fn get_begin_offset(&self) -> &Option<i32>
pub fn get_begin_offset(&self) -> &Option<i32>
Offset of the start of the child block within its parent block.
sourcepub fn end_offset(self, input: i32) -> Self
pub fn end_offset(self, input: i32) -> Self
Offset of the end of the child block within its parent block.
sourcepub fn set_end_offset(self, input: Option<i32>) -> Self
pub fn set_end_offset(self, input: Option<i32>) -> Self
Offset of the end of the child block within its parent block.
sourcepub fn get_end_offset(&self) -> &Option<i32>
pub fn get_end_offset(&self) -> &Option<i32>
Offset of the end of the child block within its parent block.
sourcepub fn build(self) -> ChildBlock
pub fn build(self) -> ChildBlock
Consumes the builder and constructs a ChildBlock.
Trait Implementations§
source§impl Clone for ChildBlockBuilder
impl Clone for ChildBlockBuilder
source§fn clone(&self) -> ChildBlockBuilder
fn clone(&self) -> ChildBlockBuilder
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 ChildBlockBuilder
impl Debug for ChildBlockBuilder
source§impl Default for ChildBlockBuilder
impl Default for ChildBlockBuilder
source§fn default() -> ChildBlockBuilder
fn default() -> ChildBlockBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ChildBlockBuilder
impl PartialEq for ChildBlockBuilder
source§fn eq(&self, other: &ChildBlockBuilder) -> bool
fn eq(&self, other: &ChildBlockBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChildBlockBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ChildBlockBuilder
impl Send for ChildBlockBuilder
impl Sync for ChildBlockBuilder
impl Unpin for ChildBlockBuilder
impl UnwindSafe for ChildBlockBuilder
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.