|
|||||||
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.UpdateLoginProfileRequest
public class UpdateLoginProfileRequest
Container for the parameters to the UpdateLoginProfile operation
.
Updates the login profile for the specified User. Use this API to change the User's password.
AmazonIdentityManagement.updateLoginProfile(UpdateLoginProfileRequest)
Constructor Summary | |
---|---|
UpdateLoginProfileRequest()
Default constructor for a new UpdateLoginProfileRequest object. |
|
UpdateLoginProfileRequest(java.lang.String userName)
Constructs a new UpdateLoginProfileRequest object. |
Method Summary | |
---|---|
java.lang.String |
getPassword()
The new password for the User name. |
java.lang.String |
getUserName()
Name of the User whose login profile you want to update. |
void |
setPassword(java.lang.String password)
The new password for the User name. |
void |
setUserName(java.lang.String userName)
Name of the User whose login profile you want to update. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateLoginProfileRequest |
withPassword(java.lang.String password)
The new password for the User name. |
UpdateLoginProfileRequest |
withUserName(java.lang.String userName)
Name of the User whose login profile you want to update. |
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 UpdateLoginProfileRequest()
public UpdateLoginProfileRequest(java.lang.String userName)
userName
- Name of the User whose login profile you want to
update.Method Detail |
---|
public java.lang.String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(java.lang.String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the User whose login profile you want to update.public UpdateLoginProfileRequest withUserName(java.lang.String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the User whose login profile you want to update.
public java.lang.String getPassword()
Constraints:
Length: 1 - 128
Pattern: [
-?]+
public void setPassword(java.lang.String password)
Constraints:
Length: 1 - 128
Pattern: [
-?]+
password
- The new password for the User name.public UpdateLoginProfileRequest withPassword(java.lang.String password)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [
-?]+
password
- The new password for the User name.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |