public class UpdateUserIdentityInfoRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates the identity information for the specified user.
Someone with the ability to invoke UpdateUserIndentityInfo
can
change the login credentials of other users by changing their email address.
This poses a security risk to your organization. They can change the email
address of a user to the attacker's email address, and then reset the
password through email. We strongly recommend limiting who has the ability to
invoke UpdateUserIndentityInfo
. For more information, see Best Practices for Security Profiles in the Amazon Connect
Administrator Guide.
Constructor and Description |
---|
UpdateUserIdentityInfoRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
UserIdentityInfo |
getIdentityInfo()
The identity information for the user.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getUserId()
The identifier of the user account.
|
int |
hashCode() |
void |
setIdentityInfo(UserIdentityInfo identityInfo)
The identity information for the user.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setUserId(java.lang.String userId)
The identifier of the user account.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateUserIdentityInfoRequest |
withIdentityInfo(UserIdentityInfo identityInfo)
The identity information for the user.
|
UpdateUserIdentityInfoRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateUserIdentityInfoRequest |
withUserId(java.lang.String userId)
The identifier of the user account.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public UserIdentityInfo getIdentityInfo()
The identity information for the user.
The identity information for the user.
public void setIdentityInfo(UserIdentityInfo identityInfo)
The identity information for the user.
identityInfo
- The identity information for the user.
public UpdateUserIdentityInfoRequest withIdentityInfo(UserIdentityInfo identityInfo)
The identity information for the user.
Returns a reference to this object so that method calls can be chained together.
identityInfo
- The identity information for the user.
public java.lang.String getUserId()
The identifier of the user account.
The identifier of the user account.
public void setUserId(java.lang.String userId)
The identifier of the user account.
userId
- The identifier of the user account.
public UpdateUserIdentityInfoRequest withUserId(java.lang.String userId)
The identifier of the user account.
Returns a reference to this object so that method calls can be chained together.
userId
- The identifier of the user account.
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public UpdateUserIdentityInfoRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
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.