Struct aws_sdk_comprehend::model::block_reference::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for BlockReference.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_block_id(self, input: Option<String>) -> Self
pub fn set_block_id(self, input: Option<String>) -> Self
Unique identifier for the block.
sourcepub fn begin_offset(self, input: i32) -> Self
pub fn begin_offset(self, input: i32) -> Self
Offset of the start of the 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 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 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 block within its parent block.
sourcepub fn child_blocks(self, input: ChildBlock) -> Self
pub fn child_blocks(self, input: ChildBlock) -> Self
Appends an item to child_blocks.
To override the contents of this collection use set_child_blocks.
List of child blocks within this block.
sourcepub fn set_child_blocks(self, input: Option<Vec<ChildBlock>>) -> Self
pub fn set_child_blocks(self, input: Option<Vec<ChildBlock>>) -> Self
List of child blocks within this block.
sourcepub fn build(self) -> BlockReference
pub fn build(self) -> BlockReference
Consumes the builder and constructs a BlockReference.