#[non_exhaustive]pub struct ContactSearchSummaryBuilder { /* private fields */ }
Expand description
A builder for ContactSearchSummary
.
Implementations§
source§impl ContactSearchSummaryBuilder
impl ContactSearchSummaryBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the contact.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the contact.
sourcepub fn initial_contact_id(self, input: impl Into<String>) -> Self
pub fn initial_contact_id(self, input: impl Into<String>) -> Self
If this contact is related to other contacts, this is the ID of the initial contact.
sourcepub fn set_initial_contact_id(self, input: Option<String>) -> Self
pub fn set_initial_contact_id(self, input: Option<String>) -> Self
If this contact is related to other contacts, this is the ID of the initial contact.
sourcepub fn get_initial_contact_id(&self) -> &Option<String>
pub fn get_initial_contact_id(&self) -> &Option<String>
If this contact is related to other contacts, this is the ID of the initial contact.
sourcepub fn previous_contact_id(self, input: impl Into<String>) -> Self
pub fn previous_contact_id(self, input: impl Into<String>) -> Self
If this contact is not the first contact, this is the ID of the previous contact.
sourcepub fn set_previous_contact_id(self, input: Option<String>) -> Self
pub fn set_previous_contact_id(self, input: Option<String>) -> Self
If this contact is not the first contact, this is the ID of the previous contact.
sourcepub fn get_previous_contact_id(&self) -> &Option<String>
pub fn get_previous_contact_id(&self) -> &Option<String>
If this contact is not the first contact, this is the ID of the previous contact.
sourcepub fn initiation_method(self, input: ContactInitiationMethod) -> Self
pub fn initiation_method(self, input: ContactInitiationMethod) -> Self
Indicates how the contact was initiated.
sourcepub fn set_initiation_method(
self,
input: Option<ContactInitiationMethod>
) -> Self
pub fn set_initiation_method( self, input: Option<ContactInitiationMethod> ) -> Self
Indicates how the contact was initiated.
sourcepub fn get_initiation_method(&self) -> &Option<ContactInitiationMethod>
pub fn get_initiation_method(&self) -> &Option<ContactInitiationMethod>
Indicates how the contact was initiated.
sourcepub fn set_channel(self, input: Option<Channel>) -> Self
pub fn set_channel(self, input: Option<Channel>) -> Self
How the contact reached your contact center.
sourcepub fn get_channel(&self) -> &Option<Channel>
pub fn get_channel(&self) -> &Option<Channel>
How the contact reached your contact center.
sourcepub fn queue_info(self, input: ContactSearchSummaryQueueInfo) -> Self
pub fn queue_info(self, input: ContactSearchSummaryQueueInfo) -> Self
If this contact was queued, this contains information about the queue.
sourcepub fn set_queue_info(
self,
input: Option<ContactSearchSummaryQueueInfo>
) -> Self
pub fn set_queue_info( self, input: Option<ContactSearchSummaryQueueInfo> ) -> Self
If this contact was queued, this contains information about the queue.
sourcepub fn get_queue_info(&self) -> &Option<ContactSearchSummaryQueueInfo>
pub fn get_queue_info(&self) -> &Option<ContactSearchSummaryQueueInfo>
If this contact was queued, this contains information about the queue.
sourcepub fn agent_info(self, input: ContactSearchSummaryAgentInfo) -> Self
pub fn agent_info(self, input: ContactSearchSummaryAgentInfo) -> Self
Information about the agent who accepted the contact.
sourcepub fn set_agent_info(
self,
input: Option<ContactSearchSummaryAgentInfo>
) -> Self
pub fn set_agent_info( self, input: Option<ContactSearchSummaryAgentInfo> ) -> Self
Information about the agent who accepted the contact.
sourcepub fn get_agent_info(&self) -> &Option<ContactSearchSummaryAgentInfo>
pub fn get_agent_info(&self) -> &Option<ContactSearchSummaryAgentInfo>
Information about the agent who accepted the contact.
sourcepub fn initiation_timestamp(self, input: DateTime) -> Self
pub fn initiation_timestamp(self, input: DateTime) -> Self
The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the contact arrived. For OUTBOUND
, this is when the agent began dialing. For CALLBACK
, this is when the callback contact was created. For TRANSFER
and QUEUE_TRANSFER
, this is when the transfer was initiated. For API, this is when the request arrived. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For MONITOR
, this is when the supervisor started listening to a contact.
sourcepub fn set_initiation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_initiation_timestamp(self, input: Option<DateTime>) -> Self
The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the contact arrived. For OUTBOUND
, this is when the agent began dialing. For CALLBACK
, this is when the callback contact was created. For TRANSFER
and QUEUE_TRANSFER
, this is when the transfer was initiated. For API, this is when the request arrived. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For MONITOR
, this is when the supervisor started listening to a contact.
sourcepub fn get_initiation_timestamp(&self) -> &Option<DateTime>
pub fn get_initiation_timestamp(&self) -> &Option<DateTime>
The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the contact arrived. For OUTBOUND
, this is when the agent began dialing. For CALLBACK
, this is when the callback contact was created. For TRANSFER
and QUEUE_TRANSFER
, this is when the transfer was initiated. For API, this is when the request arrived. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For MONITOR
, this is when the supervisor started listening to a contact.
sourcepub fn disconnect_timestamp(self, input: DateTime) -> Self
pub fn disconnect_timestamp(self, input: DateTime) -> Self
The timestamp when the customer endpoint disconnected from Amazon Connect.
sourcepub fn set_disconnect_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_disconnect_timestamp(self, input: Option<DateTime>) -> Self
The timestamp when the customer endpoint disconnected from Amazon Connect.
sourcepub fn get_disconnect_timestamp(&self) -> &Option<DateTime>
pub fn get_disconnect_timestamp(&self) -> &Option<DateTime>
The timestamp when the customer endpoint disconnected from Amazon Connect.
sourcepub fn scheduled_timestamp(self, input: DateTime) -> Self
pub fn scheduled_timestamp(self, input: DateTime) -> Self
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
sourcepub fn set_scheduled_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_scheduled_timestamp(self, input: Option<DateTime>) -> Self
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
sourcepub fn get_scheduled_timestamp(&self) -> &Option<DateTime>
pub fn get_scheduled_timestamp(&self) -> &Option<DateTime>
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
sourcepub fn build(self) -> ContactSearchSummary
pub fn build(self) -> ContactSearchSummary
Consumes the builder and constructs a ContactSearchSummary
.
Trait Implementations§
source§impl Clone for ContactSearchSummaryBuilder
impl Clone for ContactSearchSummaryBuilder
source§fn clone(&self) -> ContactSearchSummaryBuilder
fn clone(&self) -> ContactSearchSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContactSearchSummaryBuilder
impl Debug for ContactSearchSummaryBuilder
source§impl Default for ContactSearchSummaryBuilder
impl Default for ContactSearchSummaryBuilder
source§fn default() -> ContactSearchSummaryBuilder
fn default() -> ContactSearchSummaryBuilder
source§impl PartialEq for ContactSearchSummaryBuilder
impl PartialEq for ContactSearchSummaryBuilder
source§fn eq(&self, other: &ContactSearchSummaryBuilder) -> bool
fn eq(&self, other: &ContactSearchSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactSearchSummaryBuilder
Auto Trait Implementations§
impl Freeze for ContactSearchSummaryBuilder
impl RefUnwindSafe for ContactSearchSummaryBuilder
impl Send for ContactSearchSummaryBuilder
impl Sync for ContactSearchSummaryBuilder
impl Unpin for ContactSearchSummaryBuilder
impl UnwindSafe for ContactSearchSummaryBuilder
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