|
|||||||
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
.
Changes the password for the specified user.
AmazonIdentityManagement.updateLoginProfile(UpdateLoginProfileRequest)
Constructor Summary | |
---|---|
UpdateLoginProfileRequest()
Default constructor for a new UpdateLoginProfileRequest object. |
|
UpdateLoginProfileRequest(String userName)
Constructs a new UpdateLoginProfileRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getPassword()
The new password for the user name. |
String |
getUserName()
Name of the user whose password you want to update. |
int |
hashCode()
|
void |
setPassword(String password)
The new password for the user name. |
void |
setUserName(String userName)
Name of the user whose password you want to update. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateLoginProfileRequest |
withPassword(String password)
The new password for the user name. |
UpdateLoginProfileRequest |
withUserName(String userName)
Name of the user whose password you want to update. |
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 UpdateLoginProfileRequest()
public UpdateLoginProfileRequest(String userName)
userName
- Name of the user whose password you want to update.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 update.public UpdateLoginProfileRequest 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 update.
public String getPassword()
Constraints:
Length: 1 - 128
Pattern: [
-?]+
public void setPassword(String password)
Constraints:
Length: 1 - 128
Pattern: [
-?]+
password
- The new password for the user name.public UpdateLoginProfileRequest withPassword(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 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 |