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 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 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 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<ChildBlockBuilder> for ChildBlockBuilder
impl PartialEq<ChildBlockBuilder> 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 ==.