Struct aws_sdk_connect::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2OutputBuilder
source · #[non_exhaustive]pub struct ListRealtimeContactAnalysisSegmentsV2OutputBuilder { /* private fields */ }
Expand description
A builder for ListRealtimeContactAnalysisSegmentsV2Output
.
Implementations§
source§impl ListRealtimeContactAnalysisSegmentsV2OutputBuilder
impl ListRealtimeContactAnalysisSegmentsV2OutputBuilder
sourcepub fn channel(self, input: RealTimeContactAnalysisSupportedChannel) -> Self
pub fn channel(self, input: RealTimeContactAnalysisSupportedChannel) -> Self
The channel of the contact. Voice
will not be returned.
sourcepub fn set_channel(
self,
input: Option<RealTimeContactAnalysisSupportedChannel>
) -> Self
pub fn set_channel( self, input: Option<RealTimeContactAnalysisSupportedChannel> ) -> Self
The channel of the contact. Voice
will not be returned.
sourcepub fn get_channel(&self) -> &Option<RealTimeContactAnalysisSupportedChannel>
pub fn get_channel(&self) -> &Option<RealTimeContactAnalysisSupportedChannel>
The channel of the contact. Voice
will not be returned.
sourcepub fn status(self, input: RealTimeContactAnalysisStatus) -> Self
pub fn status(self, input: RealTimeContactAnalysisStatus) -> Self
Status of real-time contact analysis.
This field is required.sourcepub fn set_status(self, input: Option<RealTimeContactAnalysisStatus>) -> Self
pub fn set_status(self, input: Option<RealTimeContactAnalysisStatus>) -> Self
Status of real-time contact analysis.
sourcepub fn get_status(&self) -> &Option<RealTimeContactAnalysisStatus>
pub fn get_status(&self) -> &Option<RealTimeContactAnalysisStatus>
Status of real-time contact analysis.
sourcepub fn segments(self, input: RealtimeContactAnalysisSegment) -> Self
pub fn segments(self, input: RealtimeContactAnalysisSegment) -> Self
Appends an item to segments
.
To override the contents of this collection use set_segments
.
An analyzed transcript or category.
sourcepub fn set_segments(
self,
input: Option<Vec<RealtimeContactAnalysisSegment>>
) -> Self
pub fn set_segments( self, input: Option<Vec<RealtimeContactAnalysisSegment>> ) -> Self
An analyzed transcript or category.
sourcepub fn get_segments(&self) -> &Option<Vec<RealtimeContactAnalysisSegment>>
pub fn get_segments(&self) -> &Option<Vec<RealtimeContactAnalysisSegment>>
An analyzed transcript or category.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are additional results, this is the token for the next set of results.
sourcepub fn build(
self
) -> Result<ListRealtimeContactAnalysisSegmentsV2Output, BuildError>
pub fn build( self ) -> Result<ListRealtimeContactAnalysisSegmentsV2Output, BuildError>
Consumes the builder and constructs a ListRealtimeContactAnalysisSegmentsV2Output
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListRealtimeContactAnalysisSegmentsV2OutputBuilder
impl Clone for ListRealtimeContactAnalysisSegmentsV2OutputBuilder
source§fn clone(&self) -> ListRealtimeContactAnalysisSegmentsV2OutputBuilder
fn clone(&self) -> ListRealtimeContactAnalysisSegmentsV2OutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListRealtimeContactAnalysisSegmentsV2OutputBuilder
impl Default for ListRealtimeContactAnalysisSegmentsV2OutputBuilder
source§fn default() -> ListRealtimeContactAnalysisSegmentsV2OutputBuilder
fn default() -> ListRealtimeContactAnalysisSegmentsV2OutputBuilder
source§impl PartialEq for ListRealtimeContactAnalysisSegmentsV2OutputBuilder
impl PartialEq for ListRealtimeContactAnalysisSegmentsV2OutputBuilder
source§fn eq(&self, other: &ListRealtimeContactAnalysisSegmentsV2OutputBuilder) -> bool
fn eq(&self, other: &ListRealtimeContactAnalysisSegmentsV2OutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.