public class UpdateUserAttributesRequest extends AmazonWebServiceRequest implements Serializable
Allows a user to update a specific attribute (one at a time).
Constructor and Description |
---|
UpdateUserAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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.
An array of name-value pairs representing user attributes.
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 UpdateUserAttributesRequest 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.
Returns a reference to this object so that method calls can be chained together.
userAttributes
- An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the
custom:
prefix to the attribute name.
public UpdateUserAttributesRequest 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.
Returns a reference to this object so that method calls can be chained together.
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 getAccessToken()
The access token for the request to update user attributes.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The access token for the request to update user attributes.
public void setAccessToken(String accessToken)
The access token for the request to update user attributes.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken
- 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken
- The access token for the request to update user attributes.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.