com.amazonaws.services.identitymanagement.model
Class DeleteUserRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.DeleteUserRequest

public class DeleteUserRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteUser operation.

Deletes the specified User. The User must not belong to any groups, have any keys or signing certificates, or have any attached policies.

See Also:
AmazonIdentityManagement.deleteUser(DeleteUserRequest)

Constructor Summary
DeleteUserRequest()
           
 
Method Summary
 String getUserName()
          Name of the User to delete.
 void setUserName(String userName)
          Name of the User to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteUserRequest withUserName(String userName)
          Name of the User to delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteUserRequest

public DeleteUserRequest()
Method Detail

getUserName

public String getUserName()
Name of the User to delete.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
Name of the User to delete.

setUserName

public void setUserName(String userName)
Name of the User to delete.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - Name of the User to delete.

withUserName

public DeleteUserRequest withUserName(String userName)
Name of the User to delete.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - Name of the User to delete.
Returns:
A reference to this updated 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:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.