@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
public void setUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
userAttributes
- An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
public AdminUpdateUserAttributesRequest withUserAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
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.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
public AdminUpdateUserAttributesRequest withUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
userAttributes
- An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
public String toString()
toString
in class Object
Object.toString()
public AdminUpdateUserAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.