@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class User extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a user account for an Amazon Connect instance.
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
User |
clearTagsEntries()
Removes all the entries added into Tags.
|
User |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the user account.
|
String |
getDirectoryUserId()
The identifier of the user account in the directory used for identity management.
|
String |
getHierarchyGroupId()
The identifier of the hierarchy group for the user.
|
String |
getId()
The identifier of the user account.
|
UserIdentityInfo |
getIdentityInfo()
Information about the user identity.
|
String |
getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
|
Date |
getLastModifiedTime()
The timestamp when this resource was last modified.
|
UserPhoneConfig |
getPhoneConfig()
Information about the phone configuration for the user.
|
String |
getRoutingProfileId()
The identifier of the routing profile for the user.
|
List<String> |
getSecurityProfileIds()
The identifiers of the security profiles for the user.
|
Map<String,String> |
getTags()
The tags.
|
String |
getUsername()
The user name assigned to the user account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the user account.
|
void |
setDirectoryUserId(String directoryUserId)
The identifier of the user account in the directory used for identity management.
|
void |
setHierarchyGroupId(String hierarchyGroupId)
The identifier of the hierarchy group for the user.
|
void |
setId(String id)
The identifier of the user account.
|
void |
setIdentityInfo(UserIdentityInfo identityInfo)
Information about the user identity.
|
void |
setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
void |
setPhoneConfig(UserPhoneConfig phoneConfig)
Information about the phone configuration for the user.
|
void |
setRoutingProfileId(String routingProfileId)
The identifier of the routing profile for the user.
|
void |
setSecurityProfileIds(Collection<String> securityProfileIds)
The identifiers of the security profiles for the user.
|
void |
setTags(Map<String,String> tags)
The tags.
|
void |
setUsername(String username)
The user name assigned to the user account.
|
String |
toString()
Returns a string representation of this object.
|
User |
withArn(String arn)
The Amazon Resource Name (ARN) of the user account.
|
User |
withDirectoryUserId(String directoryUserId)
The identifier of the user account in the directory used for identity management.
|
User |
withHierarchyGroupId(String hierarchyGroupId)
The identifier of the hierarchy group for the user.
|
User |
withId(String id)
The identifier of the user account.
|
User |
withIdentityInfo(UserIdentityInfo identityInfo)
Information about the user identity.
|
User |
withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
User |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
User |
withPhoneConfig(UserPhoneConfig phoneConfig)
Information about the phone configuration for the user.
|
User |
withRoutingProfileId(String routingProfileId)
The identifier of the routing profile for the user.
|
User |
withSecurityProfileIds(Collection<String> securityProfileIds)
The identifiers of the security profiles for the user.
|
User |
withSecurityProfileIds(String... securityProfileIds)
The identifiers of the security profiles for the user.
|
User |
withTags(Map<String,String> tags)
The tags.
|
User |
withUsername(String username)
The user name assigned to the user account.
|
public void setId(String id)
The identifier of the user account.
id
- The identifier of the user account.public String getId()
The identifier of the user account.
public User withId(String id)
The identifier of the user account.
id
- The identifier of the user account.public void setArn(String arn)
The Amazon Resource Name (ARN) of the user account.
arn
- The Amazon Resource Name (ARN) of the user account.public String getArn()
The Amazon Resource Name (ARN) of the user account.
public User withArn(String arn)
The Amazon Resource Name (ARN) of the user account.
arn
- The Amazon Resource Name (ARN) of the user account.public void setUsername(String username)
The user name assigned to the user account.
username
- The user name assigned to the user account.public String getUsername()
The user name assigned to the user account.
public User withUsername(String username)
The user name assigned to the user account.
username
- The user name assigned to the user account.public void setIdentityInfo(UserIdentityInfo identityInfo)
Information about the user identity.
identityInfo
- Information about the user identity.public UserIdentityInfo getIdentityInfo()
Information about the user identity.
public User withIdentityInfo(UserIdentityInfo identityInfo)
Information about the user identity.
identityInfo
- Information about the user identity.public void setPhoneConfig(UserPhoneConfig phoneConfig)
Information about the phone configuration for the user.
phoneConfig
- Information about the phone configuration for the user.public UserPhoneConfig getPhoneConfig()
Information about the phone configuration for the user.
public User withPhoneConfig(UserPhoneConfig phoneConfig)
Information about the phone configuration for the user.
phoneConfig
- Information about the phone configuration for the user.public void setDirectoryUserId(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 String getDirectoryUserId()
The identifier of the user account in the directory used for identity management.
public User withDirectoryUserId(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 List<String> getSecurityProfileIds()
The identifiers of the security profiles for the user.
public void setSecurityProfileIds(Collection<String> securityProfileIds)
The identifiers of the security profiles for the user.
securityProfileIds
- The identifiers of the security profiles for the user.public User withSecurityProfileIds(String... securityProfileIds)
The identifiers of the security profiles for the user.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityProfileIds(java.util.Collection)
or withSecurityProfileIds(java.util.Collection)
if
you want to override the existing values.
securityProfileIds
- The identifiers of the security profiles for the user.public User withSecurityProfileIds(Collection<String> securityProfileIds)
The identifiers of the security profiles for the user.
securityProfileIds
- The identifiers of the security profiles for the user.public void setRoutingProfileId(String routingProfileId)
The identifier of the routing profile for the user.
routingProfileId
- The identifier of the routing profile for the user.public String getRoutingProfileId()
The identifier of the routing profile for the user.
public User withRoutingProfileId(String routingProfileId)
The identifier of the routing profile for the user.
routingProfileId
- The identifier of the routing profile for the user.public void setHierarchyGroupId(String hierarchyGroupId)
The identifier of the hierarchy group for the user.
hierarchyGroupId
- The identifier of the hierarchy group for the user.public String getHierarchyGroupId()
The identifier of the hierarchy group for the user.
public User withHierarchyGroupId(String hierarchyGroupId)
The identifier of the hierarchy group for the user.
hierarchyGroupId
- The identifier of the hierarchy group for the user.public User withTags(Map<String,String> tags)
The tags.
tags
- The tags.public User clearTagsEntries()
public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public Date getLastModifiedTime()
The timestamp when this resource was last modified.
public User withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public void setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
public User withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.