@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to get information about the user.
NOOP
Constructor and Description |
---|
GetUserRequest() |
Modifier and Type | Method and Description |
---|---|
GetUserRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessToken()
A non-expired access token for the user whose information you want to query.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
A non-expired access token for the user whose information you want to query.
|
String |
toString()
Returns a string representation of this object.
|
GetUserRequest |
withAccessToken(String accessToken)
A non-expired access token for the user whose information you want to query.
|
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 setAccessToken(String accessToken)
A non-expired access token for the user whose information you want to query.
accessToken
- A non-expired access token for the user whose information you want to query.public String getAccessToken()
A non-expired access token for the user whose information you want to query.
public GetUserRequest withAccessToken(String accessToken)
A non-expired access token for the user whose information you want to query.
accessToken
- A non-expired access token for the user whose information you want to query.public String toString()
toString
in class Object
Object.toString()
public GetUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()