#[non_exhaustive]pub struct AgentContactReferenceBuilder { /* private fields */ }
Expand description
A builder for AgentContactReference
.
Implementations§
source§impl AgentContactReferenceBuilder
impl AgentContactReferenceBuilder
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.
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 set_channel(self, input: Option<Channel>) -> Self
pub fn set_channel(self, input: Option<Channel>) -> Self
The channel of the contact.
sourcepub fn initiation_method(self, input: ContactInitiationMethod) -> Self
pub fn initiation_method(self, input: ContactInitiationMethod) -> Self
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
How the contact was initiated.
sourcepub fn agent_contact_state(self, input: ContactState) -> Self
pub fn agent_contact_state(self, input: ContactState) -> Self
The state of the contact.
sourcepub fn set_agent_contact_state(self, input: Option<ContactState>) -> Self
pub fn set_agent_contact_state(self, input: Option<ContactState>) -> Self
The state of the contact.
sourcepub fn state_start_timestamp(self, input: DateTime) -> Self
pub fn state_start_timestamp(self, input: DateTime) -> Self
The epoch timestamp when the contact state started.
sourcepub fn set_state_start_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_state_start_timestamp(self, input: Option<DateTime>) -> Self
The epoch timestamp when the contact state started.
sourcepub fn connected_to_agent_timestamp(self, input: DateTime) -> Self
pub fn connected_to_agent_timestamp(self, input: DateTime) -> Self
The time at which the contact was connected to an agent.
sourcepub fn set_connected_to_agent_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_connected_to_agent_timestamp(self, input: Option<DateTime>) -> Self
The time at which the contact was connected to an agent.
sourcepub fn queue(self, input: QueueReference) -> Self
pub fn queue(self, input: QueueReference) -> Self
Contains information about a queue resource for which metrics are returned.
sourcepub fn set_queue(self, input: Option<QueueReference>) -> Self
pub fn set_queue(self, input: Option<QueueReference>) -> Self
Contains information about a queue resource for which metrics are returned.
sourcepub fn build(self) -> AgentContactReference
pub fn build(self) -> AgentContactReference
Consumes the builder and constructs a AgentContactReference
.
Trait Implementations§
source§impl Clone for AgentContactReferenceBuilder
impl Clone for AgentContactReferenceBuilder
source§fn clone(&self) -> AgentContactReferenceBuilder
fn clone(&self) -> AgentContactReferenceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AgentContactReferenceBuilder
impl Debug for AgentContactReferenceBuilder
source§impl Default for AgentContactReferenceBuilder
impl Default for AgentContactReferenceBuilder
source§fn default() -> AgentContactReferenceBuilder
fn default() -> AgentContactReferenceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AgentContactReferenceBuilder> for AgentContactReferenceBuilder
impl PartialEq<AgentContactReferenceBuilder> for AgentContactReferenceBuilder
source§fn eq(&self, other: &AgentContactReferenceBuilder) -> bool
fn eq(&self, other: &AgentContactReferenceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.