Struct aws_sdk_connect::types::builders::RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
source · #[non_exhaustive]pub struct RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder { /* private fields */ }
Expand description
A builder for RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
.
Implementations§
source§impl RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
impl RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
Transcript identifier. Matches the identifier from one of the TranscriptSegments.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
Transcript identifier. Matches the identifier from one of the TranscriptSegments.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
Transcript identifier. Matches the identifier from one of the TranscriptSegments.
sourcepub fn character_offsets(
self,
input: RealTimeContactAnalysisCharacterInterval
) -> Self
pub fn character_offsets( self, input: RealTimeContactAnalysisCharacterInterval ) -> Self
List of character intervals within transcript content/text.
sourcepub fn set_character_offsets(
self,
input: Option<RealTimeContactAnalysisCharacterInterval>
) -> Self
pub fn set_character_offsets( self, input: Option<RealTimeContactAnalysisCharacterInterval> ) -> Self
List of character intervals within transcript content/text.
sourcepub fn get_character_offsets(
&self
) -> &Option<RealTimeContactAnalysisCharacterInterval>
pub fn get_character_offsets( &self ) -> &Option<RealTimeContactAnalysisCharacterInterval>
List of character intervals within transcript content/text.
sourcepub fn build(
self
) -> Result<RealTimeContactAnalysisTranscriptItemWithCharacterOffsets, BuildError>
pub fn build( self ) -> Result<RealTimeContactAnalysisTranscriptItemWithCharacterOffsets, BuildError>
Consumes the builder and constructs a RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
impl Clone for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
source§fn clone(
&self
) -> RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
fn clone( &self ) -> RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
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 Default for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
impl Default for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
source§fn default() -> RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
fn default() -> RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
impl PartialEq for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
source§fn eq(
&self,
other: &RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
) -> bool
fn eq( &self, other: &RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
Auto Trait Implementations§
impl Freeze for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
impl RefUnwindSafe for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
impl Send for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
impl Sync for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
impl Unpin for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
impl UnwindSafe for RealTimeContactAnalysisTranscriptItemWithCharacterOffsetsBuilder
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.