@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class User extends Object implements Serializable, Cloneable, StructuredPojo
A User
object that contains information about a user account in your Amazon Connect instance, including
configuration settings.
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the user account.
|
String |
getDirectoryUserId()
The directory Id for the user account in the existing directory used for identity management.
|
String |
getHierarchyGroupId()
The identifier for the hierarchy group assigned to the user.
|
String |
getId()
The identifier of the user account.
|
UserIdentityInfo |
getIdentityInfo()
A
UserIdentityInfo object. |
UserPhoneConfig |
getPhoneConfig()
A
UserPhoneConfig object. |
String |
getRoutingProfileId()
The identifier of the routing profile assigned to the user.
|
List<String> |
getSecurityProfileIds()
The identifier(s) for the security profile assigned to the user.
|
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 ARN of the user account.
|
void |
setDirectoryUserId(String directoryUserId)
The directory Id for the user account in the existing directory used for identity management.
|
void |
setHierarchyGroupId(String hierarchyGroupId)
The identifier for the hierarchy group assigned to the user.
|
void |
setId(String id)
The identifier of the user account.
|
void |
setIdentityInfo(UserIdentityInfo identityInfo)
A
UserIdentityInfo object. |
void |
setPhoneConfig(UserPhoneConfig phoneConfig)
A
UserPhoneConfig object. |
void |
setRoutingProfileId(String routingProfileId)
The identifier of the routing profile assigned to the user.
|
void |
setSecurityProfileIds(Collection<String> securityProfileIds)
The identifier(s) for the security profile assigned to the user.
|
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 ARN of the user account.
|
User |
withDirectoryUserId(String directoryUserId)
The directory Id for the user account in the existing directory used for identity management.
|
User |
withHierarchyGroupId(String hierarchyGroupId)
The identifier for the hierarchy group assigned to the user.
|
User |
withId(String id)
The identifier of the user account.
|
User |
withIdentityInfo(UserIdentityInfo identityInfo)
A
UserIdentityInfo object. |
User |
withPhoneConfig(UserPhoneConfig phoneConfig)
A
UserPhoneConfig object. |
User |
withRoutingProfileId(String routingProfileId)
The identifier of the routing profile assigned to the user.
|
User |
withSecurityProfileIds(Collection<String> securityProfileIds)
The identifier(s) for the security profile assigned to the user.
|
User |
withSecurityProfileIds(String... securityProfileIds)
The identifier(s) for the security profile assigned to the user.
|
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 ARN of the user account.
arn
- The ARN of the user account.public String getArn()
The ARN of the user account.
public User withArn(String arn)
The ARN of the user account.
arn
- The 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)
A UserIdentityInfo
object.
identityInfo
- A UserIdentityInfo
object.public UserIdentityInfo getIdentityInfo()
A UserIdentityInfo
object.
UserIdentityInfo
object.public User withIdentityInfo(UserIdentityInfo identityInfo)
A UserIdentityInfo
object.
identityInfo
- A UserIdentityInfo
object.public void setPhoneConfig(UserPhoneConfig phoneConfig)
A UserPhoneConfig
object.
phoneConfig
- A UserPhoneConfig
object.public UserPhoneConfig getPhoneConfig()
A UserPhoneConfig
object.
UserPhoneConfig
object.public User withPhoneConfig(UserPhoneConfig phoneConfig)
A UserPhoneConfig
object.
phoneConfig
- A UserPhoneConfig
object.public void setDirectoryUserId(String directoryUserId)
The directory Id for the user account in the existing directory used for identity management.
directoryUserId
- The directory Id for the user account in the existing directory used for identity management.public String getDirectoryUserId()
The directory Id for the user account in the existing directory used for identity management.
public User withDirectoryUserId(String directoryUserId)
The directory Id for the user account in the existing directory used for identity management.
directoryUserId
- The directory Id for the user account in the existing directory used for identity management.public List<String> getSecurityProfileIds()
The identifier(s) for the security profile assigned to the user.
public void setSecurityProfileIds(Collection<String> securityProfileIds)
The identifier(s) for the security profile assigned to the user.
securityProfileIds
- The identifier(s) for the security profile assigned to the user.public User withSecurityProfileIds(String... securityProfileIds)
The identifier(s) for the security profile assigned to 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 identifier(s) for the security profile assigned to the user.public User withSecurityProfileIds(Collection<String> securityProfileIds)
The identifier(s) for the security profile assigned to the user.
securityProfileIds
- The identifier(s) for the security profile assigned to the user.public void setRoutingProfileId(String routingProfileId)
The identifier of the routing profile assigned to the user.
routingProfileId
- The identifier of the routing profile assigned to the user.public String getRoutingProfileId()
The identifier of the routing profile assigned to the user.
public User withRoutingProfileId(String routingProfileId)
The identifier of the routing profile assigned to the user.
routingProfileId
- The identifier of the routing profile assigned to the user.public void setHierarchyGroupId(String hierarchyGroupId)
The identifier for the hierarchy group assigned to the user.
hierarchyGroupId
- The identifier for the hierarchy group assigned to the user.public String getHierarchyGroupId()
The identifier for the hierarchy group assigned to the user.
public User withHierarchyGroupId(String hierarchyGroupId)
The identifier for the hierarchy group assigned to the user.
hierarchyGroupId
- The identifier for the hierarchy group assigned to the user.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.