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.
sourcepub fn hierarchy_groups(self, input: HierarchyGroups) -> Self
pub fn hierarchy_groups(self, input: HierarchyGroups) -> Self
The agent hierarchy groups for the agent.
sourcepub fn set_hierarchy_groups(self, input: Option<HierarchyGroups>) -> Self
pub fn set_hierarchy_groups(self, input: Option<HierarchyGroups>) -> Self
The agent hierarchy groups for the agent.
sourcepub fn get_hierarchy_groups(&self) -> &Option<HierarchyGroups>
pub fn get_hierarchy_groups(&self) -> &Option<HierarchyGroups>
The agent hierarchy groups for the agent.
sourcepub fn device_info(self, input: DeviceInfo) -> Self
pub fn device_info(self, input: DeviceInfo) -> Self
Information regarding Agent’s device.
sourcepub fn set_device_info(self, input: Option<DeviceInfo>) -> Self
pub fn set_device_info(self, input: Option<DeviceInfo>) -> Self
Information regarding Agent’s device.
sourcepub fn get_device_info(&self) -> &Option<DeviceInfo>
pub fn get_device_info(&self) -> &Option<DeviceInfo>
Information regarding Agent’s device.
sourcepub fn capabilities(self, input: ParticipantCapabilities) -> Self
pub fn capabilities(self, input: ParticipantCapabilities) -> Self
The configuration for the allowed capabilities for participants present over the call.
sourcepub fn set_capabilities(self, input: Option<ParticipantCapabilities>) -> Self
pub fn set_capabilities(self, input: Option<ParticipantCapabilities>) -> Self
The configuration for the allowed capabilities for participants present over the call.
sourcepub fn get_capabilities(&self) -> &Option<ParticipantCapabilities>
pub fn get_capabilities(&self) -> &Option<ParticipantCapabilities>
The configuration for the allowed capabilities for participants present over the call.
Trait Implementations§
source§impl Clone for AgentInfoBuilder
impl Clone for AgentInfoBuilder
source§fn clone(&self) -> AgentInfoBuilder
fn clone(&self) -> AgentInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for AgentInfoBuilder
impl PartialEq for AgentInfoBuilder
source§fn eq(&self, other: &AgentInfoBuilder) -> bool
fn eq(&self, other: &AgentInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AgentInfoBuilder
Auto Trait Implementations§
impl Freeze for AgentInfoBuilder
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
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