public class AdminUpdateUserAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to update the user's attributes as an administrator.
NOOP
Constructor and Description |
---|
AdminUpdateUserAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
AdminUpdateUserAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<AttributeType> |
getUserAttributes()
An array of name-value pairs representing user attributes.
|
String |
getUsername()
The user name of the user for whom you want to update user attributes.
|
String |
getUserPoolId()
The user pool ID for the user pool where you want to update user
attributes.
|
int |
hashCode() |
void |
setUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
void |
setUsername(String username)
The user name of the user for whom you want to update user attributes.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to update user
attributes.
|
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(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
AdminUpdateUserAttributesRequest |
withUsername(String username)
The user name of the user for whom you want to update user attributes.
|
AdminUpdateUserAttributesRequest |
withUserPoolId(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
public void setUserPoolId(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 String getUserPoolId()
The user pool ID for the user pool where you want to update user attributes.
public AdminUpdateUserAttributesRequest withUserPoolId(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(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 String getUsername()
The user name of the user for whom you want to update user attributes.
public AdminUpdateUserAttributesRequest withUsername(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 List<AttributeType> getUserAttributes()
An array of name-value pairs representing user attributes.
public void setUserAttributes(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(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
userAttributes
- An array of name-value pairs representing user attributes.public String toString()
toString
in class Object
Object.toString()
public AdminUpdateUserAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.