public class UpdateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateUserRequest()
Default constructor for UpdateUserRequest object.
|
UpdateUserRequest(String userName)
Constructs a new UpdateUserRequest object.
|
Modifier and Type | Method and Description |
---|---|
UpdateUserRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getNewPath()
New path for the user.
|
String |
getNewUserName()
New name for the user.
|
String |
getUserName()
Name of the user to update.
|
int |
hashCode() |
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public UpdateUserRequest()
public UpdateUserRequest(String userName)
userName
- Name of the user to update. If you're changing the name of the
user, this is the original user name.public void setUserName(String userName)
Name of the user to update. If you're changing the name of the user, this is the original user name.
userName
- Name of the user to update. If you're changing the name of the
user, this is the original user name.public String getUserName()
Name of the user to update. If you're changing the name of the user, this is the original user name.
public UpdateUserRequest withUserName(String userName)
Name of the user to update. If you're changing the name of the user, this is the original user name.
userName
- Name of the user to update. If you're changing the name of the
user, this is the original user name.public void setNewPath(String newPath)
New path for the user. Include this parameter only if you're changing the user's path.
newPath
- New path for the user. Include this parameter only if you're
changing the user's path.public String getNewPath()
New path for the user. Include this parameter only if you're changing the user's path.
public UpdateUserRequest withNewPath(String newPath)
New path for the user. Include this parameter only if you're changing the user's path.
newPath
- New path for the user. Include this parameter only if you're
changing the user's path.public void setNewUserName(String newUserName)
New name for the user. Include this parameter only if you're changing the user's name.
newUserName
- New name for the user. Include this parameter only if you're
changing the user's name.public String getNewUserName()
New name for the user. Include this parameter only if you're changing the user's name.
public UpdateUserRequest withNewUserName(String newUserName)
New name for the user. Include this parameter only if you're changing the user's name.
newUserName
- New name for the user. Include this parameter only if you're
changing the user's name.public String toString()
toString
in class Object
Object.toString()
public UpdateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.