@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminEnableUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request that enables the user as an administrator.
NOOP| Constructor and Description |
|---|
AdminEnableUserRequest() |
| Modifier and Type | Method and Description |
|---|---|
AdminEnableUserRequest |
clone() |
boolean |
equals(Object obj) |
String |
getUsername()
The username of the user that you want to query or modify.
|
String |
getUserPoolId()
The user pool ID for the user pool where you want to enable the user.
|
int |
hashCode() |
void |
setUsername(String username)
The username of the user that you want to query or modify.
|
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.
|
AdminEnableUserRequest |
withUsername(String username)
The username of the user that you want to query or modify.
|
AdminEnableUserRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to enable the user.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to enable the user.
userPoolId - The user pool ID for the user pool where you want to enable the user.public String getUserPoolId()
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.
userPoolId - The user pool ID for the user pool where you want to enable the user.public void setUsername(String username)
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If username isn't an alias attribute in your
user pool, you can also use their sub in this request.
username - The username of the user that you want to query or modify. The value of this parameter is typically your
user's username, but it can be any of their alias attributes. If username isn't an alias
attribute in your user pool, you can also use their sub in this request.public String getUsername()
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If username isn't an alias attribute in your
user pool, you can also use their sub in this request.
username isn't an alias
attribute in your user pool, you can also use their sub in this request.public AdminEnableUserRequest withUsername(String username)
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If username isn't an alias attribute in your
user pool, you can also use their sub in this request.
username - The username of the user that you want to query or modify. The value of this parameter is typically your
user's username, but it can be any of their alias attributes. If username isn't an alias
attribute in your user pool, you can also use their sub in this request.public String toString()
toString in class ObjectObject.toString()public AdminEnableUserRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.