Struct aws_sdk_connect::model::user_data::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UserData
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 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 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.