public class AdminGetUserRequest extends AmazonWebServiceRequest implements Serializable
Gets the specified user by user name in a user pool as an administrator. Works on any user.
Calling this action requires developer credentials.
Constructor and Description |
---|
AdminGetUserRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getUsername()
The user name of the user you wish to retrieve.
|
String |
getUserPoolId()
The user pool ID for the user pool where you want to get information
about the user.
|
int |
hashCode() |
void |
setUsername(String username)
The user name of the user you wish to retrieve.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to get information
about the user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminGetUserRequest |
withUsername(String username)
The user name of the user you wish to retrieve.
|
AdminGetUserRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to get information
about the user.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getUserPoolId()
The user pool ID for the user pool where you want to get information about the user.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool where you want to get information about the user.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to get information about the user.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID for the user pool where you want to get information about the user.
public AdminGetUserRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to get information about the user.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID for the user pool where you want to get information about the user.
public String getUsername()
The user name of the user you wish to retrieve.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name of the user you wish to retrieve.
public void setUsername(String username)
The user name of the user you wish to retrieve.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username
- The user name of the user you wish to retrieve.
public AdminGetUserRequest withUsername(String username)
The user name of the user you wish to retrieve.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username
- The user name of the user you wish to retrieve.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.