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:
  • Constructor Details

    • DeleteUserAttributesRequest

      public DeleteUserAttributesRequest()
  • Method Details

    • 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) or withUserAttributeNames(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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: