|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.DeleteLoginProfileRequest
public class DeleteLoginProfileRequest
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.
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 |
---|
public DeleteLoginProfileRequest()
public DeleteLoginProfileRequest(String userName)
userName
- Name of the user whose password you want to delete.Method Detail |
---|
public String getUserName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName
- Name of the user whose password you want to delete.public DeleteLoginProfileRequest withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName
- Name of the user whose password you want to delete.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |