Struct aws_sdk_connect::model::agent_contact_reference::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for AgentContactReference
.
Implementations
sourceimpl Builder
impl Builder
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
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more