public class AdminDisableUserRequest extends AmazonWebServiceRequest implements Serializable
Disables the specified user.
Calling this action requires developer credentials.
| Constructor and Description |
|---|
AdminDisableUserRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getUsername()
The user name of the user you wish to disable.
|
String |
getUserPoolId()
The user pool ID for the user pool where you want to disable the user.
|
int |
hashCode() |
void |
setUsername(String username)
The user name of the user you wish to disable.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to disable the user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminDisableUserRequest |
withUsername(String username)
The user name of the user you wish to disable.
|
AdminDisableUserRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to disable the user.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUserPoolId()
The user pool ID for the user pool where you want to disable the user.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool where you want to disable the user.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to disable 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 disable the user.
public AdminDisableUserRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to disable 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 disable the user.
public String getUsername()
The user name of the user you wish to disable.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name of the user you wish to disable.
public void setUsername(String username)
The user name of the user you wish to disable.
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 disable.
public AdminDisableUserRequest withUsername(String username)
The user name of the user you wish to disable.
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 disable.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.