@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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 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 user name of the user you wish to enable.
username
- The user name of the user you wish to enable.public String getUsername()
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.
username
- The user name of the user you wish to enable.public String toString()
toString
in class Object
Object.toString()
public AdminEnableUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.