Struct aws_sdk_connect::types::builders::RealTimeContactAnalysisSegmentPostContactSummaryBuilder
source · #[non_exhaustive]pub struct RealTimeContactAnalysisSegmentPostContactSummaryBuilder { /* private fields */ }Expand description
A builder for RealTimeContactAnalysisSegmentPostContactSummary.
Implementations§
source§impl RealTimeContactAnalysisSegmentPostContactSummaryBuilder
impl RealTimeContactAnalysisSegmentPostContactSummaryBuilder
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The content of the summary.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The content of the summary.
sourcepub fn status(
self,
input: RealTimeContactAnalysisPostContactSummaryStatus,
) -> Self
pub fn status( self, input: RealTimeContactAnalysisPostContactSummaryStatus, ) -> Self
Whether the summary was successfully COMPLETED or FAILED to be generated.
This field is required.sourcepub fn set_status(
self,
input: Option<RealTimeContactAnalysisPostContactSummaryStatus>,
) -> Self
pub fn set_status( self, input: Option<RealTimeContactAnalysisPostContactSummaryStatus>, ) -> Self
Whether the summary was successfully COMPLETED or FAILED to be generated.
sourcepub fn get_status(
&self,
) -> &Option<RealTimeContactAnalysisPostContactSummaryStatus>
pub fn get_status( &self, ) -> &Option<RealTimeContactAnalysisPostContactSummaryStatus>
Whether the summary was successfully COMPLETED or FAILED to be generated.
sourcepub fn failure_code(
self,
input: RealTimeContactAnalysisPostContactSummaryFailureCode,
) -> Self
pub fn failure_code( self, input: RealTimeContactAnalysisPostContactSummaryFailureCode, ) -> Self
If the summary failed to be generated, one of the following failure codes occurs:
-
QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota. -
INSUFFICIENT_CONVERSATION_CONTENT: The conversation needs to have at least one turn from both the participants in order to generate the summary. -
FAILED_SAFETY_GUIDELINES: The generated summary cannot be provided because it failed to meet system safety guidelines. -
INVALID_ANALYSIS_CONFIGURATION: This code occurs when, for example, you're using a language that isn't supported by generative AI-powered post-contact summaries. -
INTERNAL_ERROR: Internal system error.
sourcepub fn set_failure_code(
self,
input: Option<RealTimeContactAnalysisPostContactSummaryFailureCode>,
) -> Self
pub fn set_failure_code( self, input: Option<RealTimeContactAnalysisPostContactSummaryFailureCode>, ) -> Self
If the summary failed to be generated, one of the following failure codes occurs:
-
QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota. -
INSUFFICIENT_CONVERSATION_CONTENT: The conversation needs to have at least one turn from both the participants in order to generate the summary. -
FAILED_SAFETY_GUIDELINES: The generated summary cannot be provided because it failed to meet system safety guidelines. -
INVALID_ANALYSIS_CONFIGURATION: This code occurs when, for example, you're using a language that isn't supported by generative AI-powered post-contact summaries. -
INTERNAL_ERROR: Internal system error.
sourcepub fn get_failure_code(
&self,
) -> &Option<RealTimeContactAnalysisPostContactSummaryFailureCode>
pub fn get_failure_code( &self, ) -> &Option<RealTimeContactAnalysisPostContactSummaryFailureCode>
If the summary failed to be generated, one of the following failure codes occurs:
-
QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota. -
INSUFFICIENT_CONVERSATION_CONTENT: The conversation needs to have at least one turn from both the participants in order to generate the summary. -
FAILED_SAFETY_GUIDELINES: The generated summary cannot be provided because it failed to meet system safety guidelines. -
INVALID_ANALYSIS_CONFIGURATION: This code occurs when, for example, you're using a language that isn't supported by generative AI-powered post-contact summaries. -
INTERNAL_ERROR: Internal system error.
sourcepub fn build(
self,
) -> Result<RealTimeContactAnalysisSegmentPostContactSummary, BuildError>
pub fn build( self, ) -> Result<RealTimeContactAnalysisSegmentPostContactSummary, BuildError>
Consumes the builder and constructs a RealTimeContactAnalysisSegmentPostContactSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
impl Clone for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
source§fn clone(&self) -> RealTimeContactAnalysisSegmentPostContactSummaryBuilder
fn clone(&self) -> RealTimeContactAnalysisSegmentPostContactSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
impl Default for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
source§fn default() -> RealTimeContactAnalysisSegmentPostContactSummaryBuilder
fn default() -> RealTimeContactAnalysisSegmentPostContactSummaryBuilder
source§impl PartialEq for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
impl PartialEq for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
source§fn eq(
&self,
other: &RealTimeContactAnalysisSegmentPostContactSummaryBuilder,
) -> bool
fn eq( &self, other: &RealTimeContactAnalysisSegmentPostContactSummaryBuilder, ) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
Auto Trait Implementations§
impl Freeze for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
impl RefUnwindSafe for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
impl Send for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
impl Sync for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
impl Unpin for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
impl UnwindSafe for RealTimeContactAnalysisSegmentPostContactSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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