Struct aws_sdk_connect::types::builders::RealTimeContactAnalysisTranscriptItemRedactionBuilder
source · #[non_exhaustive]pub struct RealTimeContactAnalysisTranscriptItemRedactionBuilder { /* private fields */ }
Expand description
A builder for RealTimeContactAnalysisTranscriptItemRedaction
.
Implementations§
source§impl RealTimeContactAnalysisTranscriptItemRedactionBuilder
impl RealTimeContactAnalysisTranscriptItemRedactionBuilder
sourcepub fn character_offsets(
self,
input: RealTimeContactAnalysisCharacterInterval
) -> Self
pub fn character_offsets( self, input: RealTimeContactAnalysisCharacterInterval ) -> Self
Appends an item to character_offsets
.
To override the contents of this collection use set_character_offsets
.
List of character intervals each describing a part of the text that was redacted. For OutputType.Raw
, part of the original text that contains data that can be redacted. For OutputType.Redacted
, part of the string with redaction tag.
sourcepub fn set_character_offsets(
self,
input: Option<Vec<RealTimeContactAnalysisCharacterInterval>>
) -> Self
pub fn set_character_offsets( self, input: Option<Vec<RealTimeContactAnalysisCharacterInterval>> ) -> Self
List of character intervals each describing a part of the text that was redacted. For OutputType.Raw
, part of the original text that contains data that can be redacted. For OutputType.Redacted
, part of the string with redaction tag.
sourcepub fn get_character_offsets(
&self
) -> &Option<Vec<RealTimeContactAnalysisCharacterInterval>>
pub fn get_character_offsets( &self ) -> &Option<Vec<RealTimeContactAnalysisCharacterInterval>>
List of character intervals each describing a part of the text that was redacted. For OutputType.Raw
, part of the original text that contains data that can be redacted. For OutputType.Redacted
, part of the string with redaction tag.
sourcepub fn build(self) -> RealTimeContactAnalysisTranscriptItemRedaction
pub fn build(self) -> RealTimeContactAnalysisTranscriptItemRedaction
Consumes the builder and constructs a RealTimeContactAnalysisTranscriptItemRedaction
.
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisTranscriptItemRedactionBuilder
impl Clone for RealTimeContactAnalysisTranscriptItemRedactionBuilder
source§fn clone(&self) -> RealTimeContactAnalysisTranscriptItemRedactionBuilder
fn clone(&self) -> RealTimeContactAnalysisTranscriptItemRedactionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RealTimeContactAnalysisTranscriptItemRedactionBuilder
impl Default for RealTimeContactAnalysisTranscriptItemRedactionBuilder
source§fn default() -> RealTimeContactAnalysisTranscriptItemRedactionBuilder
fn default() -> RealTimeContactAnalysisTranscriptItemRedactionBuilder
source§impl PartialEq for RealTimeContactAnalysisTranscriptItemRedactionBuilder
impl PartialEq for RealTimeContactAnalysisTranscriptItemRedactionBuilder
source§fn eq(
&self,
other: &RealTimeContactAnalysisTranscriptItemRedactionBuilder
) -> bool
fn eq( &self, other: &RealTimeContactAnalysisTranscriptItemRedactionBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.