Struct aws_sdk_connect::types::builders::EvaluationMetadataBuilder
source · #[non_exhaustive]pub struct EvaluationMetadataBuilder { /* private fields */ }
Expand description
A builder for EvaluationMetadata
.
Implementations§
source§impl EvaluationMetadataBuilder
impl EvaluationMetadataBuilder
sourcepub fn contact_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact in this instance of Amazon Connect.
This field is required.sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn evaluator_arn(self, input: impl Into<String>) -> Self
pub fn evaluator_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who last updated the evaluation.
This field is required.sourcepub fn set_evaluator_arn(self, input: Option<String>) -> Self
pub fn set_evaluator_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who last updated the evaluation.
sourcepub fn get_evaluator_arn(&self) -> &Option<String>
pub fn get_evaluator_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user who last updated the evaluation.
sourcepub fn contact_agent_id(self, input: impl Into<String>) -> Self
pub fn contact_agent_id(self, input: impl Into<String>) -> Self
The identifier of the agent who performed the contact.
sourcepub fn set_contact_agent_id(self, input: Option<String>) -> Self
pub fn set_contact_agent_id(self, input: Option<String>) -> Self
The identifier of the agent who performed the contact.
sourcepub fn get_contact_agent_id(&self) -> &Option<String>
pub fn get_contact_agent_id(&self) -> &Option<String>
The identifier of the agent who performed the contact.
sourcepub fn score(self, input: EvaluationScore) -> Self
pub fn score(self, input: EvaluationScore) -> Self
The overall score of the contact evaluation.
sourcepub fn set_score(self, input: Option<EvaluationScore>) -> Self
pub fn set_score(self, input: Option<EvaluationScore>) -> Self
The overall score of the contact evaluation.
sourcepub fn get_score(&self) -> &Option<EvaluationScore>
pub fn get_score(&self) -> &Option<EvaluationScore>
The overall score of the contact evaluation.
sourcepub fn build(self) -> Result<EvaluationMetadata, BuildError>
pub fn build(self) -> Result<EvaluationMetadata, BuildError>
Consumes the builder and constructs a EvaluationMetadata
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EvaluationMetadataBuilder
impl Clone for EvaluationMetadataBuilder
source§fn clone(&self) -> EvaluationMetadataBuilder
fn clone(&self) -> EvaluationMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvaluationMetadataBuilder
impl Debug for EvaluationMetadataBuilder
source§impl Default for EvaluationMetadataBuilder
impl Default for EvaluationMetadataBuilder
source§fn default() -> EvaluationMetadataBuilder
fn default() -> EvaluationMetadataBuilder
source§impl PartialEq for EvaluationMetadataBuilder
impl PartialEq for EvaluationMetadataBuilder
source§fn eq(&self, other: &EvaluationMetadataBuilder) -> bool
fn eq(&self, other: &EvaluationMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationMetadataBuilder
Auto Trait Implementations§
impl Freeze for EvaluationMetadataBuilder
impl RefUnwindSafe for EvaluationMetadataBuilder
impl Send for EvaluationMetadataBuilder
impl Sync for EvaluationMetadataBuilder
impl Unpin for EvaluationMetadataBuilder
impl UnwindSafe for EvaluationMetadataBuilder
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