com.amazonaws.services.identitymanagement.model
Class DeleteLoginProfileRequest

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

public class DeleteLoginProfileRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteLoginProfile operation.

Deletes the password for the specified user, which terminates the user's ability to access AWS services through the AWS Management Console.

IMPORTANT:Deleting a user's password does not prevent a user from accessing IAM through the command line interface or the API. To prevent all user access you must also either make the access key inactive or delete it. For more information about making keys inactive or deleting them, see UpdateAccessKey and DeleteAccessKey.

See Also:
AmazonIdentityManagement.deleteLoginProfile(DeleteLoginProfileRequest)

Constructor Summary
DeleteLoginProfileRequest()
          Default constructor for a new DeleteLoginProfileRequest object.
DeleteLoginProfileRequest(String userName)
          Constructs a new DeleteLoginProfileRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getUserName()
          Name of the user whose password you want to delete.
 int hashCode()
           
 void setUserName(String userName)
          Name of the user whose password you want to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteLoginProfileRequest withUserName(String userName)
          Name of the user whose password you want to delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteLoginProfileRequest

public DeleteLoginProfileRequest()
Default constructor for a new DeleteLoginProfileRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeleteLoginProfileRequest

public DeleteLoginProfileRequest(String userName)
Constructs a new DeleteLoginProfileRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
userName - Name of the user whose password you want to delete.
Method Detail

getUserName

public String getUserName()
Name of the user whose password you want to delete.

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

Returns:
Name of the user whose password you want to delete.

setUserName

public void setUserName(String userName)
Name of the user whose password you want to delete.

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

Parameters:
userName - Name of the user whose password you want to delete.

withUserName

public DeleteLoginProfileRequest withUserName(String userName)
Name of the user whose password you want to delete.

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

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

Parameters:
userName - Name of the user whose password you want 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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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