public class UpdateUserAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to update user attributes.
NOOP
Constructor and Description |
---|
UpdateUserAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateUserAttributesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAccessToken()
The access token for the request to update user attributes.
|
List<AttributeType> |
getUserAttributes()
An array of name-value pairs representing user attributes.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token for the request to update user attributes.
|
void |
setUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateUserAttributesRequest |
withAccessToken(String accessToken)
The access token for the request to update user attributes.
|
UpdateUserAttributesRequest |
withUserAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
|
UpdateUserAttributesRequest |
withUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing 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 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 UpdateUserAttributesRequest 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 UpdateUserAttributesRequest withUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
userAttributes
- An array of name-value pairs representing user attributes.public void setAccessToken(String accessToken)
The access token for the request to update user attributes.
accessToken
- The access token for the request to update user attributes.public String getAccessToken()
The access token for the request to update user attributes.
public UpdateUserAttributesRequest withAccessToken(String accessToken)
The access token for the request to update user attributes.
accessToken
- The access token for the request to update user attributes.public String toString()
toString
in class Object
Object.toString()
public UpdateUserAttributesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.