|
|||||||
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 login profile for the specified user, which terminates the user's ability to access AWS services through the IAM login page.
IMPORTANT:Deleting a user's login profile 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 | |
---|---|
String |
getUserName()
Name of the user whose login profile you want to delete. |
void |
setUserName(String userName)
Name of the user whose login profile 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 login profile you want to delete. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteLoginProfileRequest()
public DeleteLoginProfileRequest(String userName)
userName
- Name of the user whose login profile 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 login profile 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 login profile you want to delete.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |