public class UpdateUserRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
newPath
New path for the IAM user.
|
private java.lang.String |
newUserName
New name for the user.
|
private java.lang.String |
userName
Name of the user to update.
|
NOOP
Constructor and Description |
---|
UpdateUserRequest()
Default constructor for UpdateUserRequest object.
|
UpdateUserRequest(java.lang.String userName)
Constructs a new UpdateUserRequest object.
|
Modifier and Type | Method and Description |
---|---|
UpdateUserRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNewPath()
New path for the IAM user.
|
java.lang.String |
getNewUserName()
New name for the user.
|
java.lang.String |
getUserName()
Name of the user to update.
|
int |
hashCode() |
void |
setNewPath(java.lang.String newPath)
New path for the IAM user.
|
void |
setNewUserName(java.lang.String newUserName)
New name for the user.
|
void |
setUserName(java.lang.String userName)
Name of the user to update.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateUserRequest |
withNewPath(java.lang.String newPath)
New path for the IAM user.
|
UpdateUserRequest |
withNewUserName(java.lang.String newUserName)
New name for the user.
|
UpdateUserRequest |
withUserName(java.lang.String userName)
Name of the user to update.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String userName
Name of the user to update. If you're changing the name of the user, this is the original user name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
private java.lang.String newPath
New path for the IAM user. Include this parameter only if you're changing the user's path.
The regex pattern for this parameter is a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (!) thru the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
private java.lang.String newUserName
New name for the user. Include this parameter only if you're changing the user's name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public UpdateUserRequest()
public UpdateUserRequest(java.lang.String userName)
userName
- Name of the user to update. If you're changing the name of the
user, this is the original user name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public void setUserName(java.lang.String userName)
Name of the user to update. If you're changing the name of the user, this is the original user name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- Name of the user to update. If you're changing the name of the
user, this is the original user name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public java.lang.String getUserName()
Name of the user to update. If you're changing the name of the user, this is the original user name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public UpdateUserRequest withUserName(java.lang.String userName)
Name of the user to update. If you're changing the name of the user, this is the original user name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- Name of the user to update. If you're changing the name of the
user, this is the original user name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public void setNewPath(java.lang.String newPath)
New path for the IAM user. Include this parameter only if you're changing the user's path.
The regex pattern for this parameter is a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (!) thru the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
newPath
- New path for the IAM user. Include this parameter only if you're
changing the user's path.
The regex pattern for this parameter is a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (!) thru the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
public java.lang.String getNewPath()
New path for the IAM user. Include this parameter only if you're changing the user's path.
The regex pattern for this parameter is a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (!) thru the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
The regex pattern for this parameter is a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (!) thru the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
public UpdateUserRequest withNewPath(java.lang.String newPath)
New path for the IAM user. Include this parameter only if you're changing the user's path.
The regex pattern for this parameter is a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (!) thru the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
newPath
- New path for the IAM user. Include this parameter only if you're
changing the user's path.
The regex pattern for this parameter is a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (!) thru the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
public void setNewUserName(java.lang.String newUserName)
New name for the user. Include this parameter only if you're changing the user's name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
newUserName
- New name for the user. Include this parameter only if you're
changing the user's name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public java.lang.String getNewUserName()
New name for the user. Include this parameter only if you're changing the user's name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public UpdateUserRequest withNewUserName(java.lang.String newUserName)
New name for the user. Include this parameter only if you're changing the user's name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
newUserName
- New name for the user. Include this parameter only if you're
changing the user's name.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()