public class UpdateUserIdentityInfoRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Updates the identity information for the specified user.
We strongly recommend limiting who has the ability to invoke
UpdateUserIdentityInfo. Someone with that ability 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. 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, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public UpdateUserIdentityInfoRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the 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. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object