public class AdminEnableUserRequest extends AmazonWebServiceRequest implements Serializable
Enables the specified user as an administrator. Works on any user.
Calling this action requires developer credentials.
Constructor and Description |
---|
AdminEnableUserRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getUsername()
The user name of the user you wish to enable.
|
String |
getUserPoolId()
The user pool ID for the user pool where you want to enable the user.
|
int |
hashCode() |
void |
setUsername(String username)
The user name of the user you wish to enable.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to enable the user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminEnableUserRequest |
withUsername(String username)
The user name of the user you wish to enable.
|
AdminEnableUserRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to enable 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 enable the user.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool where you want to enable the user.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to enable 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 enable the user.
public AdminEnableUserRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to enable 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 enable the user.
public String getUsername()
The user name of the user you wish to enable.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name of the user you wish to enable.
public void setUsername(String username)
The user name of the user you wish to enable.
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 enable.
public AdminEnableUserRequest withUsername(String username)
The user name of the user you wish to enable.
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 enable.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.