Interface UserData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserData.Builder,,UserData> SdkBuilder<UserData.Builder,,UserData> SdkPojo
- Enclosing class:
UserData
-
Method Summary
Modifier and TypeMethodDescriptionactiveSlotsByChannel(Map<Channel, Integer> activeSlotsByChannel) A map of active slots by channel.activeSlotsByChannelWithStrings(Map<String, Integer> activeSlotsByChannel) A map of active slots by channel.availableSlotsByChannel(Map<Channel, Integer> availableSlotsByChannel) A map of available slots by channel.availableSlotsByChannelWithStrings(Map<String, Integer> availableSlotsByChannel) A map of available slots by channel.contacts(Collection<AgentContactReference> contacts) A list of contact reference information.contacts(Consumer<AgentContactReference.Builder>... contacts) A list of contact reference information.contacts(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.hierarchyPath(HierarchyPathReference hierarchyPath) Contains information about the levels of a hierarchy group assigned to a user.maxSlotsByChannel(Map<Channel, Integer> maxSlotsByChannel) A map of maximum slots by channel.maxSlotsByChannelWithStrings(Map<String, Integer> maxSlotsByChannel) A map of maximum slots by channel.nextStatus(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.routingProfile(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.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.default UserData.Builderuser(Consumer<UserReference.Builder> user) Information about the user for the data that is returned.user(UserReference user) Information about the user for the data that is returned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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
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:
-
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
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:
-
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
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:
-
availableSlotsByChannelWithStrings
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
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
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
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
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
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
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
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
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 tocontacts(List<AgentContactReference>).- 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:
-
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.
-