Struct aws_sdk_comprehend::types::builders::BlockReferenceBuilder
source · #[non_exhaustive]pub struct BlockReferenceBuilder { /* private fields */ }Expand description
A builder for BlockReference.
Implementations§
source§impl BlockReferenceBuilder
impl BlockReferenceBuilder
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.
Trait Implementations§
source§impl Clone for BlockReferenceBuilder
impl Clone for BlockReferenceBuilder
source§fn clone(&self) -> BlockReferenceBuilder
fn clone(&self) -> BlockReferenceBuilder
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 BlockReferenceBuilder
impl Debug for BlockReferenceBuilder
source§impl Default for BlockReferenceBuilder
impl Default for BlockReferenceBuilder
source§fn default() -> BlockReferenceBuilder
fn default() -> BlockReferenceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BlockReferenceBuilder> for BlockReferenceBuilder
impl PartialEq<BlockReferenceBuilder> for BlockReferenceBuilder
source§fn eq(&self, other: &BlockReferenceBuilder) -> bool
fn eq(&self, other: &BlockReferenceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.