Struct aws_sdk_connect::types::builders::TranscriptCriteriaBuilder
source · #[non_exhaustive]pub struct TranscriptCriteriaBuilder { /* private fields */ }
Expand description
A builder for TranscriptCriteria
.
Implementations§
source§impl TranscriptCriteriaBuilder
impl TranscriptCriteriaBuilder
sourcepub fn participant_role(self, input: ParticipantRole) -> Self
pub fn participant_role(self, input: ParticipantRole) -> Self
The participant role in a transcript
This field is required.sourcepub fn set_participant_role(self, input: Option<ParticipantRole>) -> Self
pub fn set_participant_role(self, input: Option<ParticipantRole>) -> Self
The participant role in a transcript
sourcepub fn get_participant_role(&self) -> &Option<ParticipantRole>
pub fn get_participant_role(&self) -> &Option<ParticipantRole>
The participant role in a transcript
sourcepub fn search_text(self, input: impl Into<String>) -> Self
pub fn search_text(self, input: impl Into<String>) -> Self
Appends an item to search_text
.
To override the contents of this collection use set_search_text
.
The words or phrases used to search within a transcript.
sourcepub fn set_search_text(self, input: Option<Vec<String>>) -> Self
pub fn set_search_text(self, input: Option<Vec<String>>) -> Self
The words or phrases used to search within a transcript.
sourcepub fn get_search_text(&self) -> &Option<Vec<String>>
pub fn get_search_text(&self) -> &Option<Vec<String>>
The words or phrases used to search within a transcript.
sourcepub fn match_type(self, input: SearchContactsMatchType) -> Self
pub fn match_type(self, input: SearchContactsMatchType) -> Self
The match type combining search criteria using multiple search texts in a transcript criteria.
This field is required.sourcepub fn set_match_type(self, input: Option<SearchContactsMatchType>) -> Self
pub fn set_match_type(self, input: Option<SearchContactsMatchType>) -> Self
The match type combining search criteria using multiple search texts in a transcript criteria.
sourcepub fn get_match_type(&self) -> &Option<SearchContactsMatchType>
pub fn get_match_type(&self) -> &Option<SearchContactsMatchType>
The match type combining search criteria using multiple search texts in a transcript criteria.
sourcepub fn build(self) -> Result<TranscriptCriteria, BuildError>
pub fn build(self) -> Result<TranscriptCriteria, BuildError>
Consumes the builder and constructs a TranscriptCriteria
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TranscriptCriteriaBuilder
impl Clone for TranscriptCriteriaBuilder
source§fn clone(&self) -> TranscriptCriteriaBuilder
fn clone(&self) -> TranscriptCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TranscriptCriteriaBuilder
impl Debug for TranscriptCriteriaBuilder
source§impl Default for TranscriptCriteriaBuilder
impl Default for TranscriptCriteriaBuilder
source§fn default() -> TranscriptCriteriaBuilder
fn default() -> TranscriptCriteriaBuilder
source§impl PartialEq for TranscriptCriteriaBuilder
impl PartialEq for TranscriptCriteriaBuilder
source§fn eq(&self, other: &TranscriptCriteriaBuilder) -> bool
fn eq(&self, other: &TranscriptCriteriaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TranscriptCriteriaBuilder
Auto Trait Implementations§
impl Freeze for TranscriptCriteriaBuilder
impl RefUnwindSafe for TranscriptCriteriaBuilder
impl Send for TranscriptCriteriaBuilder
impl Sync for TranscriptCriteriaBuilder
impl Unpin for TranscriptCriteriaBuilder
impl UnwindSafe for TranscriptCriteriaBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more