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