public class AdminUpdateUserAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the request to update the user's attributes as an administrator.
Modifier and Type | Field and Description |
---|---|
private java.util.List<AttributeType> |
userAttributes
An array of name-value pairs representing user attributes.
|
private java.lang.String |
username
The user name of the user for whom you want to update user attributes.
|
private java.lang.String |
userPoolId
The user pool ID for the user pool where you want to update user
attributes.
|
NOOP
Constructor and Description |
---|
AdminUpdateUserAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
AdminUpdateUserAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<AttributeType> |
getUserAttributes()
An array of name-value pairs representing user attributes.
|
java.lang.String |
getUsername()
The user name of the user for whom you want to update user attributes.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool where you want to update user
attributes.
|
int |
hashCode() |
void |
setUserAttributes(java.util.Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
void |
setUsername(java.lang.String username)
The user name of the user for whom you want to update user attributes.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to update user
attributes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminUpdateUserAttributesRequest |
withUserAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
|
AdminUpdateUserAttributesRequest |
withUserAttributes(java.util.Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
AdminUpdateUserAttributesRequest |
withUsername(java.lang.String username)
The user name of the user for whom you want to update user attributes.
|
AdminUpdateUserAttributesRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to update user
attributes.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String userPoolId
The user pool ID for the user pool where you want to update user attributes.
private java.lang.String username
The user name of the user for whom you want to update user attributes.
private java.util.List<AttributeType> userAttributes
An array of name-value pairs representing user attributes.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to update user attributes.
userPoolId
- The user pool ID for the user pool where you want to update user
attributes.public java.lang.String getUserPoolId()
The user pool ID for the user pool where you want to update user attributes.
public AdminUpdateUserAttributesRequest withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to update user attributes.
userPoolId
- The user pool ID for the user pool where you want to update user
attributes.public void setUsername(java.lang.String username)
The user name of the user for whom you want to update user attributes.
username
- The user name of the user for whom you want to update user
attributes.public java.lang.String getUsername()
The user name of the user for whom you want to update user attributes.
public AdminUpdateUserAttributesRequest withUsername(java.lang.String username)
The user name of the user for whom you want to update user attributes.
username
- The user name of the user for whom you want to update user
attributes.public java.util.List<AttributeType> getUserAttributes()
An array of name-value pairs representing user attributes.
public void setUserAttributes(java.util.Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
userAttributes
- An array of name-value pairs representing user attributes.public AdminUpdateUserAttributesRequest withUserAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
NOTE: This method appends the values to the existing list (if
any). Use setUserAttributes(java.util.Collection)
or
withUserAttributes(java.util.Collection)
if you want to override
the existing values.
userAttributes
- An array of name-value pairs representing user attributes.public AdminUpdateUserAttributesRequest withUserAttributes(java.util.Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
userAttributes
- An array of name-value pairs representing user attributes.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AdminUpdateUserAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()