public class DeleteLoginProfileRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
DeleteLoginProfileRequest()
Default constructor for a new DeleteLoginProfileRequest object.
|
DeleteLoginProfileRequest(String userName)
Constructs a new DeleteLoginProfileRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeleteLoginProfileRequest()
public DeleteLoginProfileRequest(String userName)
userName
- Name of the user whose password you want to delete.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.