public class AdminGetUserRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the request to get the specified user as an administrator.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
username
The user name of the user you wish to retrieve.
|
private java.lang.String |
userPoolId
The user pool ID for the user pool where you want to get information
about the user.
|
NOOP
Constructor and Description |
---|
AdminGetUserRequest() |
Modifier and Type | Method and Description |
---|---|
AdminGetUserRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getUsername()
The user name of the user you wish to retrieve.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool where you want to get information
about the user.
|
int |
hashCode() |
void |
setUsername(java.lang.String username)
The user name of the user you wish to retrieve.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to get information
about the user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminGetUserRequest |
withUsername(java.lang.String username)
The user name of the user you wish to retrieve.
|
AdminGetUserRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to get information
about the user.
|
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.lang.String userPoolId
The user pool ID for the user pool where you want to get information about the user.
private java.lang.String username
The user name of the user you wish to retrieve.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to get information about the user.
userPoolId
- The user pool ID for the user pool where you want to get
information about the user.public java.lang.String getUserPoolId()
The user pool ID for the user pool where you want to get information about the user.
public AdminGetUserRequest withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to get information about the user.
userPoolId
- The user pool ID for the user pool where you want to get
information about the user.public void setUsername(java.lang.String username)
The user name of the user you wish to retrieve.
username
- The user name of the user you wish to retrieve.public java.lang.String getUsername()
The user name of the user you wish to retrieve.
public AdminGetUserRequest withUsername(java.lang.String username)
The user name of the user you wish to retrieve.
username
- The user name of the user you wish to retrieve.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 AdminGetUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()