@Generated(value="software.amazon.awssdk:codegen") public final class UserData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserData.Builder,UserData>
Data for a user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserData.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<Channel,Integer> |
activeSlotsByChannel()
A map of active slots by channel.
|
Map<String,Integer> |
activeSlotsByChannelAsStrings()
A map of active slots by channel.
|
Map<Channel,Integer> |
availableSlotsByChannel()
A map of available slots by channel.
|
Map<String,Integer> |
availableSlotsByChannelAsStrings()
A map of available slots by channel.
|
static UserData.Builder |
builder() |
List<AgentContactReference> |
contacts()
A list of contact reference information.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActiveSlotsByChannel()
For responses, this returns true if the service returned a value for the ActiveSlotsByChannel property.
|
boolean |
hasAvailableSlotsByChannel()
For responses, this returns true if the service returned a value for the AvailableSlotsByChannel property.
|
boolean |
hasContacts()
For responses, this returns true if the service returned a value for the Contacts property.
|
int |
hashCode() |
boolean |
hasMaxSlotsByChannel()
For responses, this returns true if the service returned a value for the MaxSlotsByChannel property.
|
HierarchyPathReference |
hierarchyPath()
Contains information about the levels of a hierarchy group assigned to a user.
|
Map<Channel,Integer> |
maxSlotsByChannel()
A map of maximum slots by channel.
|
Map<String,Integer> |
maxSlotsByChannelAsStrings()
A map of maximum slots by channel.
|
RoutingProfileReference |
routingProfile()
Information about the routing profile that is assigned to the user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UserData.Builder> |
serializableBuilderClass() |
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.
|
UserData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UserReference |
user()
Information about the user for the data that is returned.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UserReference user()
Information about the user for the data that is returned. It contains resourceId and ARN of the user.
public final RoutingProfileReference routingProfile()
Information about the routing profile that is assigned to the user.
public final HierarchyPathReference hierarchyPath()
Contains information about the levels of a hierarchy group assigned to a user.
public final 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.
public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAvailableSlotsByChannel() method.
public final boolean hasAvailableSlotsByChannel()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final Map<String,Integer> availableSlotsByChannelAsStrings()
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAvailableSlotsByChannel() method.
public final 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 RoutingProfile assigned to the agent.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMaxSlotsByChannel() method.
public final boolean hasMaxSlotsByChannel()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,Integer> maxSlotsByChannelAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMaxSlotsByChannel() method.
public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasActiveSlotsByChannel() method.
public final boolean hasActiveSlotsByChannel()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,Integer> activeSlotsByChannelAsStrings()
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasActiveSlotsByChannel() method.
public final boolean hasContacts()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<AgentContactReference> contacts()
A list of contact reference information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasContacts() method.
public UserData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserData.Builder,UserData>public static UserData.Builder builder()
public static Class<? extends UserData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.