public class DeleteLoginProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
NOOP
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 |
---|---|
DeleteLoginProfileRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getUserName()
The name of the user whose password you want to delete.
|
int |
hashCode() |
void |
setUserName(String userName)
The 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)
The name of the user whose password you want to delete.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteLoginProfileRequest()
public DeleteLoginProfileRequest(String userName)
userName
- The 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
- The 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
- The name of the user whose password you want to delete.public String toString()
toString
in class Object
Object.toString()
public DeleteLoginProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.