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