|
|||||||
| 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.UpdateUserRequest
public class UpdateUserRequest
Container for the parameters to the UpdateUser operation.
Updates the name and/or the path of the specified user.
IMPORTANT: You should understand the implications of changing a user's path or name. For more information, see Renaming Users and Groups in the AWS Identity and Access Management User Guide.
AmazonIdentityManagement.updateUser(UpdateUserRequest)| Constructor Summary | |
|---|---|
UpdateUserRequest()
|
|
| Method Summary | |
|---|---|
String |
getNewPath()
New path for the user. |
String |
getNewUserName()
New name for the user. |
String |
getUserName()
Name of the user to update. |
void |
setNewPath(String newPath)
New path for the user. |
void |
setNewUserName(String newUserName)
New name for the user. |
void |
setUserName(String userName)
Name of the user to update. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateUserRequest |
withNewPath(String newPath)
New path for the user. |
UpdateUserRequest |
withNewUserName(String newUserName)
New name for the user. |
UpdateUserRequest |
withUserName(String userName)
Name of the user to update. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateUserRequest()
| Method Detail |
|---|
public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - Name of the user to update. If you're changing the name of the user,
this is the original name.public UpdateUserRequest withUserName(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 to update. If you're changing the name of the user,
this is the original name.
public String getNewPath()
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
public void setNewPath(String newPath)
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
newPath - New path for the user. Include this only if you're changing the user's
path.public UpdateUserRequest withNewPath(String newPath)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
newPath - New path for the user. Include this only if you're changing the user's
path.
public String getNewUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setNewUserName(String newUserName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
newUserName - New name for the user. Include this only if you're changing the user's
name.public UpdateUserRequest withNewUserName(String newUserName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
newUserName - New name for the user. Include this only if you're changing the user's
name.
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||