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