Interface UserData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UserData.Builder,UserData>,SdkBuilder<UserData.Builder,UserData>,SdkPojo
- Enclosing class:
- UserData
public static interface UserData.Builder extends SdkPojo, CopyableBuilder<UserData.Builder,UserData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UserData.BuilderactiveSlotsByChannel(Map<Channel,Integer> activeSlotsByChannel)A map of active slots by channel.UserData.BuilderactiveSlotsByChannelWithStrings(Map<String,Integer> activeSlotsByChannel)A map of active slots by channel.UserData.BuilderavailableSlotsByChannel(Map<Channel,Integer> availableSlotsByChannel)A map of available slots by channel.UserData.BuilderavailableSlotsByChannelWithStrings(Map<String,Integer> availableSlotsByChannel)A map of available slots by channel.UserData.Buildercontacts(Collection<AgentContactReference> contacts)A list of contact reference information.UserData.Buildercontacts(Consumer<AgentContactReference.Builder>... contacts)A list of contact reference information.UserData.Buildercontacts(AgentContactReference... contacts)A list of contact reference information.default UserData.BuilderhierarchyPath(Consumer<HierarchyPathReference.Builder> hierarchyPath)Contains information about the levels of a hierarchy group assigned to a user.UserData.BuilderhierarchyPath(HierarchyPathReference hierarchyPath)Contains information about the levels of a hierarchy group assigned to a user.UserData.BuildermaxSlotsByChannel(Map<Channel,Integer> maxSlotsByChannel)A map of maximum slots by channel.UserData.BuildermaxSlotsByChannelWithStrings(Map<String,Integer> maxSlotsByChannel)A map of maximum slots by channel.UserData.BuildernextStatus(String nextStatus)The Next status of the agent.default UserData.BuilderroutingProfile(Consumer<RoutingProfileReference.Builder> routingProfile)Information about the routing profile that is assigned to the user.UserData.BuilderroutingProfile(RoutingProfileReference routingProfile)Information about the routing profile that is assigned to the user.default UserData.Builderstatus(Consumer<AgentStatusReference.Builder> status)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.UserData.Builderstatus(AgentStatusReference status)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.default UserData.Builderuser(Consumer<UserReference.Builder> user)Information about the user for the data that is returned.UserData.Builderuser(UserReference user)Information about the user for the data that is returned.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
user
UserData.Builder user(UserReference user)
Information about the user for the data that is returned. It contains the
resourceIdand ARN of the user.- Parameters:
user- Information about the user for the data that is returned. It contains theresourceIdand ARN of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
default UserData.Builder user(Consumer<UserReference.Builder> user)
Information about the user for the data that is returned. It contains the
This is a convenience method that creates an instance of theresourceIdand ARN of the user.UserReference.Builderavoiding the need to create one manually viaUserReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touser(UserReference).- Parameters:
user- a consumer that will call methods onUserReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
user(UserReference)
-
routingProfile
UserData.Builder routingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
- Parameters:
routingProfile- Information about the routing profile that is assigned to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingProfile
default UserData.Builder routingProfile(Consumer<RoutingProfileReference.Builder> routingProfile)
Information about the routing profile that is assigned to the user.
This is a convenience method that creates an instance of theRoutingProfileReference.Builderavoiding the need to create one manually viaRoutingProfileReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingProfile(RoutingProfileReference).- Parameters:
routingProfile- a consumer that will call methods onRoutingProfileReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
routingProfile(RoutingProfileReference)
-
hierarchyPath
UserData.Builder hierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
- Parameters:
hierarchyPath- Contains information about the levels of a hierarchy group assigned to a user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyPath
default UserData.Builder hierarchyPath(Consumer<HierarchyPathReference.Builder> hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
This is a convenience method that creates an instance of theHierarchyPathReference.Builderavoiding the need to create one manually viaHierarchyPathReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohierarchyPath(HierarchyPathReference).- Parameters:
hierarchyPath- a consumer that will call methods onHierarchyPathReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
hierarchyPath(HierarchyPathReference)
-
status
UserData.Builder status(AgentStatusReference status)
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.
- Parameters:
status- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default UserData.Builder status(Consumer<AgentStatusReference.Builder> status)
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.
This is a convenience method that creates an instance of theAgentStatusReference.Builderavoiding the need to create one manually viaAgentStatusReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(AgentStatusReference).- Parameters:
status- a consumer that will call methods onAgentStatusReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(AgentStatusReference)
-
availableSlotsByChannelWithStrings
UserData.Builder availableSlotsByChannelWithStrings(Map<String,Integer> availableSlotsByChannel)
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
- Parameters:
availableSlotsByChannel- A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableSlotsByChannel
UserData.Builder availableSlotsByChannel(Map<Channel,Integer> availableSlotsByChannel)
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
- Parameters:
availableSlotsByChannel- A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxSlotsByChannelWithStrings
UserData.Builder maxSlotsByChannelWithStrings(Map<String,Integer> maxSlotsByChannel)
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
RoutingProfileassigned to the agent.- Parameters:
maxSlotsByChannel- 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 theRoutingProfileassigned to the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxSlotsByChannel
UserData.Builder maxSlotsByChannel(Map<Channel,Integer> maxSlotsByChannel)
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
RoutingProfileassigned to the agent.- Parameters:
maxSlotsByChannel- 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 theRoutingProfileassigned to the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeSlotsByChannelWithStrings
UserData.Builder activeSlotsByChannelWithStrings(Map<String,Integer> activeSlotsByChannel)
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
- Parameters:
activeSlotsByChannel- A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeSlotsByChannel
UserData.Builder activeSlotsByChannel(Map<Channel,Integer> activeSlotsByChannel)
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
- Parameters:
activeSlotsByChannel- A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
UserData.Builder contacts(Collection<AgentContactReference> contacts)
A list of contact reference information.
- Parameters:
contacts- A list of contact reference information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
UserData.Builder contacts(AgentContactReference... contacts)
A list of contact reference information.
- Parameters:
contacts- A list of contact reference information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
UserData.Builder contacts(Consumer<AgentContactReference.Builder>... contacts)
A list of contact reference information.
This is a convenience method that creates an instance of theAgentContactReference.Builderavoiding the need to create one manually viaAgentContactReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contacts(List.) - Parameters:
contacts- a consumer that will call methods onAgentContactReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#contacts(java.util.Collection)
-
nextStatus
UserData.Builder nextStatus(String nextStatus)
The Next status of the agent.
- Parameters:
nextStatus- The Next status of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-