public class AdminDeleteUserAttributesRequest extends AmazonWebServiceRequest implements Serializable
Deletes the user attributes in a user pool as an administrator. Works on any user.
Calling this action requires developer credentials.
| Constructor and Description |
|---|
AdminDeleteUserAttributesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getUserAttributeNames()
An array of strings representing the user attribute names you wish to
delete.
|
String |
getUsername()
The user name of the user from which you would like to delete attributes.
|
String |
getUserPoolId()
The user pool ID for the user pool where you want to delete user
attributes.
|
int |
hashCode() |
void |
setUserAttributeNames(Collection<String> userAttributeNames)
An array of strings representing the user attribute names you wish to
delete.
|
void |
setUsername(String username)
The user name of the user from which you would like to delete attributes.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to delete user
attributes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminDeleteUserAttributesRequest |
withUserAttributeNames(Collection<String> userAttributeNames)
An array of strings representing the user attribute names you wish to
delete.
|
AdminDeleteUserAttributesRequest |
withUserAttributeNames(String... userAttributeNames)
An array of strings representing the user attribute names you wish to
delete.
|
AdminDeleteUserAttributesRequest |
withUsername(String username)
The user name of the user from which you would like to delete attributes.
|
AdminDeleteUserAttributesRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to delete user
attributes.
|
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 user attributes.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool where you want to delete user attributes.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to delete user attributes.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool where you want to delete user attributes.
public AdminDeleteUserAttributesRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to delete user attributes.
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 user attributes.
public String getUsername()
The user name of the user from which you would like to delete attributes.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name of the user from which you would like to delete attributes.
public void setUsername(String username)
The user name of the user from which you would like to delete attributes.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name of the user from which you would like to delete attributes.
public AdminDeleteUserAttributesRequest withUsername(String username)
The user name of the user from which you would like to delete attributes.
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 from which you would like to delete attributes.
public List<String> getUserAttributeNames()
An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
public void setUserAttributeNames(Collection<String> userAttributeNames)
An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
userAttributeNames - An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the
custom: prefix to the attribute name.
public AdminDeleteUserAttributesRequest withUserAttributeNames(String... userAttributeNames)
An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
Returns a reference to this object so that method calls can be chained together.
userAttributeNames - An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the
custom: prefix to the attribute name.
public AdminDeleteUserAttributesRequest withUserAttributeNames(Collection<String> userAttributeNames)
An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
Returns a reference to this object so that method calls can be chained together.
userAttributeNames - An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the
custom: prefix to the attribute name.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.