Class DeleteUserAttributesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cognitoidp.model.DeleteUserAttributesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DeleteUserAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to delete user attributes.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteUserAttributesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteUserAttributesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAccessToken()The access token used in the request to delete user attributes.List<String>getUserAttributeNames()An array of strings representing the user attribute names you wish to delete.inthashCode()voidsetAccessToken(String accessToken)The access token used in the request to delete user attributes.voidsetUserAttributeNames(Collection<String> userAttributeNames)An array of strings representing the user attribute names you wish to delete.StringtoString()Returns a string representation of this object; useful for testing and debugging.DeleteUserAttributesRequestwithAccessToken(String accessToken)The access token used in the request to delete user attributes.DeleteUserAttributesRequestwithUserAttributeNames(String... userAttributeNames)An array of strings representing the user attribute names you wish to delete.DeleteUserAttributesRequestwithUserAttributeNames(Collection<String> userAttributeNames)An array of strings representing the user attribute names you wish to delete.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
getUserAttributeNames
public List<String> getUserAttributeNames()
An array of strings representing the user attribute names you wish to delete.
- Returns:
- An array of strings representing the user attribute names you wish to delete.
-
setUserAttributeNames
public void setUserAttributeNames(Collection<String> userAttributeNames)
An array of strings representing the user attribute names you wish to delete.
- Parameters:
userAttributeNames- An array of strings representing the user attribute names you wish to delete.
-
withUserAttributeNames
public DeleteUserAttributesRequest withUserAttributeNames(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)orwithUserAttributeNames(java.util.Collection)if you want to override the existing values.- Parameters:
userAttributeNames- An array of strings representing the user attribute names you wish to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withUserAttributeNames
public DeleteUserAttributesRequest withUserAttributeNames(Collection<String> userAttributeNames)
An array of strings representing the user attribute names you wish to delete.
- Parameters:
userAttributeNames- An array of strings representing the user attribute names you wish to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAccessToken
public void setAccessToken(String accessToken)
The access token used in the request to delete user attributes.
- Parameters:
accessToken- The access token used in the request to delete user attributes.
-
getAccessToken
public String getAccessToken()
The access token used in the request to delete user attributes.
- Returns:
- The access token used in the request to delete user attributes.
-
withAccessToken
public DeleteUserAttributesRequest withAccessToken(String accessToken)
The access token used in the request to delete user attributes.
- Parameters:
accessToken- The access token used in the request to delete user attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeleteUserAttributesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-