Struct aws_sdk_connect::types::builders::AgentInfoBuilder
source · #[non_exhaustive]pub struct AgentInfoBuilder { /* private fields */ }
Expand description
A builder for AgentInfo
.
Implementations§
source§impl AgentInfoBuilder
impl AgentInfoBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the agent who accepted the contact.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the agent who accepted the contact.
sourcepub fn connected_to_agent_timestamp(self, input: DateTime) -> Self
pub fn connected_to_agent_timestamp(self, input: DateTime) -> Self
The timestamp when the contact was connected to the 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 timestamp when the contact was connected to the agent.
sourcepub fn get_connected_to_agent_timestamp(&self) -> &Option<DateTime>
pub fn get_connected_to_agent_timestamp(&self) -> &Option<DateTime>
The timestamp when the contact was connected to the agent.
sourcepub fn agent_pause_duration_in_seconds(self, input: i32) -> Self
pub fn agent_pause_duration_in_seconds(self, input: i32) -> Self
Agent pause duration for a contact in seconds.
sourcepub fn set_agent_pause_duration_in_seconds(self, input: Option<i32>) -> Self
pub fn set_agent_pause_duration_in_seconds(self, input: Option<i32>) -> Self
Agent pause duration for a contact in seconds.
sourcepub fn get_agent_pause_duration_in_seconds(&self) -> &Option<i32>
pub fn get_agent_pause_duration_in_seconds(&self) -> &Option<i32>
Agent pause duration for a contact in seconds.
Trait Implementations§
source§impl Clone for AgentInfoBuilder
impl Clone for AgentInfoBuilder
source§fn clone(&self) -> AgentInfoBuilder
fn clone(&self) -> AgentInfoBuilder
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 AgentInfoBuilder
impl Debug for AgentInfoBuilder
source§impl Default for AgentInfoBuilder
impl Default for AgentInfoBuilder
source§fn default() -> AgentInfoBuilder
fn default() -> AgentInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AgentInfoBuilder
impl PartialEq for AgentInfoBuilder
source§fn eq(&self, other: &AgentInfoBuilder) -> bool
fn eq(&self, other: &AgentInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AgentInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AgentInfoBuilder
impl Send for AgentInfoBuilder
impl Sync for AgentInfoBuilder
impl Unpin for AgentInfoBuilder
impl UnwindSafe for AgentInfoBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.