public class AdminDeleteUserAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the request to delete user attributes as an administrator.
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
userAttributeNames
An array of strings representing the user attribute names you wish to
delete.
|
private java.lang.String |
username
The user name of the user from which you would like to delete attributes.
|
private java.lang.String |
userPoolId
The user pool ID for the user pool where you want to delete user
attributes.
|
NOOP
Constructor and Description |
---|
AdminDeleteUserAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
AdminDeleteUserAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getUserAttributeNames()
An array of strings representing the user attribute names you wish to
delete.
|
java.lang.String |
getUsername()
The user name of the user from which you would like to delete attributes.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool where you want to delete user
attributes.
|
int |
hashCode() |
void |
setUserAttributeNames(java.util.Collection<java.lang.String> userAttributeNames)
An array of strings representing the user attribute names you wish to
delete.
|
void |
setUsername(java.lang.String username)
The user name of the user from which you would like to delete attributes.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to delete user
attributes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminDeleteUserAttributesRequest |
withUserAttributeNames(java.util.Collection<java.lang.String> userAttributeNames)
An array of strings representing the user attribute names you wish to
delete.
|
AdminDeleteUserAttributesRequest |
withUserAttributeNames(java.lang.String... userAttributeNames)
An array of strings representing the user attribute names you wish to
delete.
|
AdminDeleteUserAttributesRequest |
withUsername(java.lang.String username)
The user name of the user from which you would like to delete attributes.
|
AdminDeleteUserAttributesRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to delete user
attributes.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String userPoolId
The user pool ID for the user pool where you want to delete user attributes.
private java.lang.String username
The user name of the user from which you would like to delete attributes.
private java.util.List<java.lang.String> userAttributeNames
An array of strings representing the user attribute names you wish to delete.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to delete user attributes.
userPoolId
- The user pool ID for the user pool where you want to delete user
attributes.public java.lang.String getUserPoolId()
The user pool ID for the user pool where you want to delete user attributes.
public AdminDeleteUserAttributesRequest withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to delete user attributes.
userPoolId
- The user pool ID for the user pool where you want to delete user
attributes.public void setUsername(java.lang.String username)
The user name of the user from which you would like to delete attributes.
username
- The user name of the user from which you would like to delete
attributes.public java.lang.String getUsername()
The user name of the user from which you would like to delete attributes.
public AdminDeleteUserAttributesRequest withUsername(java.lang.String username)
The user name of the user from which you would like to delete attributes.
username
- The user name of the user from which you would like to delete
attributes.public java.util.List<java.lang.String> getUserAttributeNames()
An array of strings representing the user attribute names you wish to delete.
public void setUserAttributeNames(java.util.Collection<java.lang.String> userAttributeNames)
An array of strings representing the user attribute names you wish to delete.
userAttributeNames
- An array of strings representing the user attribute names you wish
to delete.public AdminDeleteUserAttributesRequest withUserAttributeNames(java.lang.String... userAttributeNames)
An array of strings representing the user attribute names you wish to delete.
NOTE: This method appends the values to the existing list (if
any). Use setUserAttributeNames(java.util.Collection)
or
withUserAttributeNames(java.util.Collection)
if you want to
override the existing values.
userAttributeNames
- An array of strings representing the user attribute names you wish
to delete.public AdminDeleteUserAttributesRequest withUserAttributeNames(java.util.Collection<java.lang.String> userAttributeNames)
An array of strings representing the user attribute names you wish to delete.
userAttributeNames
- An array of strings representing the user attribute names you wish
to delete.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AdminDeleteUserAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()