public class User
extends java.lang.Object
implements java.io.Serializable
Contains information about a user account for a Amazon Connect instance.
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags.
|
User |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the user account.
|
java.lang.String |
getDirectoryUserId()
The identifier of the user account in the directory used for identity
management.
|
java.lang.String |
getHierarchyGroupId()
The identifier of the hierarchy group for the user.
|
java.lang.String |
getId()
The identifier of the user account.
|
UserIdentityInfo |
getIdentityInfo()
Information about the user identity.
|
UserPhoneConfig |
getPhoneConfig()
Information about the phone configuration for the user.
|
java.lang.String |
getRoutingProfileId()
The identifier of the routing profile for the user.
|
java.util.List<java.lang.String> |
getSecurityProfileIds()
The identifiers of the security profiles for the user.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags.
|
java.lang.String |
getUsername()
The user name assigned to the user account.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the user account.
|
void |
setDirectoryUserId(java.lang.String directoryUserId)
The identifier of the user account in the directory used for identity
management.
|
void |
setHierarchyGroupId(java.lang.String hierarchyGroupId)
The identifier of the hierarchy group for the user.
|
void |
setId(java.lang.String id)
The identifier of the user account.
|
void |
setIdentityInfo(UserIdentityInfo identityInfo)
Information about the user identity.
|
void |
setPhoneConfig(UserPhoneConfig phoneConfig)
Information about the phone configuration for the user.
|
void |
setRoutingProfileId(java.lang.String routingProfileId)
The identifier of the routing profile for the user.
|
void |
setSecurityProfileIds(java.util.Collection<java.lang.String> securityProfileIds)
The identifiers of the security profiles for the user.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags.
|
void |
setUsername(java.lang.String username)
The user name assigned to the user account.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
User |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the user account.
|
User |
withDirectoryUserId(java.lang.String directoryUserId)
The identifier of the user account in the directory used for identity
management.
|
User |
withHierarchyGroupId(java.lang.String hierarchyGroupId)
The identifier of the hierarchy group for the user.
|
User |
withId(java.lang.String id)
The identifier of the user account.
|
User |
withIdentityInfo(UserIdentityInfo identityInfo)
Information about the user identity.
|
User |
withPhoneConfig(UserPhoneConfig phoneConfig)
Information about the phone configuration for the user.
|
User |
withRoutingProfileId(java.lang.String routingProfileId)
The identifier of the routing profile for the user.
|
User |
withSecurityProfileIds(java.util.Collection<java.lang.String> securityProfileIds)
The identifiers of the security profiles for the user.
|
User |
withSecurityProfileIds(java.lang.String... securityProfileIds)
The identifiers of the security profiles for the user.
|
User |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags.
|
User |
withUsername(java.lang.String username)
The user name assigned to the user account.
|
public java.lang.String getId()
The identifier of the user account.
The identifier of the user account.
public void setId(java.lang.String id)
The identifier of the user account.
id
- The identifier of the user account.
public User withId(java.lang.String id)
The identifier of the user account.
Returns a reference to this object so that method calls can be chained together.
id
- The identifier of the user account.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the user account.
The Amazon Resource Name (ARN) of the user account.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the user account.
arn
- The Amazon Resource Name (ARN) of the user account.
public User withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the user account.
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) of the user account.
public java.lang.String getUsername()
The user name assigned to the user account.
Constraints:
Length: 1 - 100
The user name assigned to the user account.
public void setUsername(java.lang.String username)
The user name assigned to the user account.
Constraints:
Length: 1 - 100
username
- The user name assigned to the user account.
public User withUsername(java.lang.String username)
The user name assigned to the user account.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
username
- The user name assigned to the user account.
public UserIdentityInfo getIdentityInfo()
Information about the user identity.
Information about the user identity.
public void setIdentityInfo(UserIdentityInfo identityInfo)
Information about the user identity.
identityInfo
- Information about the user identity.
public User withIdentityInfo(UserIdentityInfo identityInfo)
Information about the user identity.
Returns a reference to this object so that method calls can be chained together.
identityInfo
- Information about the user identity.
public UserPhoneConfig getPhoneConfig()
Information about the phone configuration for the user.
Information about the phone configuration for the user.
public void setPhoneConfig(UserPhoneConfig phoneConfig)
Information about the phone configuration for the user.
phoneConfig
- Information about the phone configuration for the user.
public User withPhoneConfig(UserPhoneConfig phoneConfig)
Information about the phone configuration for the user.
Returns a reference to this object so that method calls can be chained together.
phoneConfig
- Information about the phone configuration for the user.
public java.lang.String getDirectoryUserId()
The identifier of the user account in the directory used for identity management.
The identifier of the user account in the directory used for identity management.
public void setDirectoryUserId(java.lang.String directoryUserId)
The identifier of the user account in the directory used for identity management.
directoryUserId
- The identifier of the user account in the directory used for identity management.
public User withDirectoryUserId(java.lang.String directoryUserId)
The identifier of the user account in the directory used for identity management.
Returns a reference to this object so that method calls can be chained together.
directoryUserId
- The identifier of the user account in the directory used for identity management.
public java.util.List<java.lang.String> getSecurityProfileIds()
The identifiers of the security profiles for the user.
The identifiers of the security profiles for the user.
public void setSecurityProfileIds(java.util.Collection<java.lang.String> securityProfileIds)
The identifiers of the security profiles for the user.
securityProfileIds
- The identifiers of the security profiles for the user.
public User withSecurityProfileIds(java.lang.String... securityProfileIds)
The identifiers of the security profiles for the user.
Returns a reference to this object so that method calls can be chained together.
securityProfileIds
- The identifiers of the security profiles for the user.
public User withSecurityProfileIds(java.util.Collection<java.lang.String> securityProfileIds)
The identifiers of the security profiles for the user.
Returns a reference to this object so that method calls can be chained together.
securityProfileIds
- The identifiers of the security profiles for the user.
public java.lang.String getRoutingProfileId()
The identifier of the routing profile for the user.
The identifier of the routing profile for the user.
public void setRoutingProfileId(java.lang.String routingProfileId)
The identifier of the routing profile for the user.
routingProfileId
- The identifier of the routing profile for the user.
public User withRoutingProfileId(java.lang.String routingProfileId)
The identifier of the routing profile for the user.
Returns a reference to this object so that method calls can be chained together.
routingProfileId
- The identifier of the routing profile for the user.
public java.lang.String getHierarchyGroupId()
The identifier of the hierarchy group for the user.
The identifier of the hierarchy group for the user.
public void setHierarchyGroupId(java.lang.String hierarchyGroupId)
The identifier of the hierarchy group for the user.
hierarchyGroupId
- The identifier of the hierarchy group for the user.
public User withHierarchyGroupId(java.lang.String hierarchyGroupId)
The identifier of the hierarchy group for the user.
Returns a reference to this object so that method calls can be chained together.
hierarchyGroupId
- The identifier of the hierarchy group for the user.
public java.util.Map<java.lang.String,java.lang.String> getTags()
The tags.
The tags.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags.
tags
- The tags.
public User withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags.
Returns a reference to this object so that method calls can be chained together.
tags
- The tags.
public User addTagsEntry(java.lang.String key, java.lang.String value)
The tags.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Tags.value
- The corresponding value of the entry to be added into Tags.public User clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.