Struct aws_sdk_connect::types::builders::UserDataBuilder
source · #[non_exhaustive]pub struct UserDataBuilder { /* private fields */ }
Expand description
A builder for UserData
.
Implementations§
source§impl UserDataBuilder
impl UserDataBuilder
sourcepub fn user(self, input: UserReference) -> Self
pub fn user(self, input: UserReference) -> Self
Information about the user for the data that is returned. It contains the resourceId
and ARN of the user.
sourcepub fn set_user(self, input: Option<UserReference>) -> Self
pub fn set_user(self, input: Option<UserReference>) -> Self
Information about the user for the data that is returned. It contains the resourceId
and ARN of the user.
sourcepub fn get_user(&self) -> &Option<UserReference>
pub fn get_user(&self) -> &Option<UserReference>
Information about the user for the data that is returned. It contains the resourceId
and ARN of the user.
sourcepub fn routing_profile(self, input: RoutingProfileReference) -> Self
pub fn routing_profile(self, input: RoutingProfileReference) -> Self
Information about the routing profile that is assigned to the user.
sourcepub fn set_routing_profile(self, input: Option<RoutingProfileReference>) -> Self
pub fn set_routing_profile(self, input: Option<RoutingProfileReference>) -> Self
Information about the routing profile that is assigned to the user.
sourcepub fn get_routing_profile(&self) -> &Option<RoutingProfileReference>
pub fn get_routing_profile(&self) -> &Option<RoutingProfileReference>
Information about the routing profile that is assigned to the user.
sourcepub fn hierarchy_path(self, input: HierarchyPathReference) -> Self
pub fn hierarchy_path(self, input: HierarchyPathReference) -> Self
Contains information about the levels of a hierarchy group assigned to a user.
sourcepub fn set_hierarchy_path(self, input: Option<HierarchyPathReference>) -> Self
pub fn set_hierarchy_path(self, input: Option<HierarchyPathReference>) -> Self
Contains information about the levels of a hierarchy group assigned to a user.
sourcepub fn get_hierarchy_path(&self) -> &Option<HierarchyPathReference>
pub fn get_hierarchy_path(&self) -> &Option<HierarchyPathReference>
Contains information about the levels of a hierarchy group assigned to a user.
sourcepub fn status(self, input: AgentStatusReference) -> Self
pub fn status(self, input: AgentStatusReference) -> Self
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
sourcepub fn set_status(self, input: Option<AgentStatusReference>) -> Self
pub fn set_status(self, input: Option<AgentStatusReference>) -> Self
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
sourcepub fn get_status(&self) -> &Option<AgentStatusReference>
pub fn get_status(&self) -> &Option<AgentStatusReference>
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
sourcepub fn available_slots_by_channel(self, k: Channel, v: i32) -> Self
pub fn available_slots_by_channel(self, k: Channel, v: i32) -> Self
Adds a key-value pair to available_slots_by_channel
.
To override the contents of this collection use set_available_slots_by_channel
.
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
sourcepub fn set_available_slots_by_channel(
self,
input: Option<HashMap<Channel, i32>>
) -> Self
pub fn set_available_slots_by_channel( self, input: Option<HashMap<Channel, i32>> ) -> Self
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
sourcepub fn get_available_slots_by_channel(&self) -> &Option<HashMap<Channel, i32>>
pub fn get_available_slots_by_channel(&self) -> &Option<HashMap<Channel, i32>>
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
sourcepub fn max_slots_by_channel(self, k: Channel, v: i32) -> Self
pub fn max_slots_by_channel(self, k: Channel, v: i32) -> Self
Adds a key-value pair to max_slots_by_channel
.
To override the contents of this collection use set_max_slots_by_channel
.
A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile
assigned to the agent.
sourcepub fn set_max_slots_by_channel(
self,
input: Option<HashMap<Channel, i32>>
) -> Self
pub fn set_max_slots_by_channel( self, input: Option<HashMap<Channel, i32>> ) -> Self
A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile
assigned to the agent.
sourcepub fn get_max_slots_by_channel(&self) -> &Option<HashMap<Channel, i32>>
pub fn get_max_slots_by_channel(&self) -> &Option<HashMap<Channel, i32>>
A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile
assigned to the agent.
sourcepub fn active_slots_by_channel(self, k: Channel, v: i32) -> Self
pub fn active_slots_by_channel(self, k: Channel, v: i32) -> Self
Adds a key-value pair to active_slots_by_channel
.
To override the contents of this collection use set_active_slots_by_channel
.
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
sourcepub fn set_active_slots_by_channel(
self,
input: Option<HashMap<Channel, i32>>
) -> Self
pub fn set_active_slots_by_channel( self, input: Option<HashMap<Channel, i32>> ) -> Self
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
sourcepub fn get_active_slots_by_channel(&self) -> &Option<HashMap<Channel, i32>>
pub fn get_active_slots_by_channel(&self) -> &Option<HashMap<Channel, i32>>
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
sourcepub fn contacts(self, input: AgentContactReference) -> Self
pub fn contacts(self, input: AgentContactReference) -> Self
Appends an item to contacts
.
To override the contents of this collection use set_contacts
.
A list of contact reference information.
sourcepub fn set_contacts(self, input: Option<Vec<AgentContactReference>>) -> Self
pub fn set_contacts(self, input: Option<Vec<AgentContactReference>>) -> Self
A list of contact reference information.
sourcepub fn get_contacts(&self) -> &Option<Vec<AgentContactReference>>
pub fn get_contacts(&self) -> &Option<Vec<AgentContactReference>>
A list of contact reference information.
sourcepub fn next_status(self, input: impl Into<String>) -> Self
pub fn next_status(self, input: impl Into<String>) -> Self
The Next status of the agent.
sourcepub fn set_next_status(self, input: Option<String>) -> Self
pub fn set_next_status(self, input: Option<String>) -> Self
The Next status of the agent.
sourcepub fn get_next_status(&self) -> &Option<String>
pub fn get_next_status(&self) -> &Option<String>
The Next status of the agent.
Trait Implementations§
source§impl Clone for UserDataBuilder
impl Clone for UserDataBuilder
source§fn clone(&self) -> UserDataBuilder
fn clone(&self) -> UserDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserDataBuilder
impl Debug for UserDataBuilder
source§impl Default for UserDataBuilder
impl Default for UserDataBuilder
source§fn default() -> UserDataBuilder
fn default() -> UserDataBuilder
source§impl PartialEq for UserDataBuilder
impl PartialEq for UserDataBuilder
source§fn eq(&self, other: &UserDataBuilder) -> bool
fn eq(&self, other: &UserDataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.