@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyUserRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyUserRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessString()
Access permissions string used for this user account.
|
String |
getAppendAccessString()
Adds additional user permissions to the access string.
|
Boolean |
getNoPasswordRequired()
Indicates no password is required for the user account.
|
List<String> |
getPasswords()
The passwords belonging to the user account.
|
String |
getUserId()
The ID of the user.
|
int |
hashCode() |
Boolean |
isNoPasswordRequired()
Indicates no password is required for the user account.
|
void |
setAccessString(String accessString)
Access permissions string used for this user account.
|
void |
setAppendAccessString(String appendAccessString)
Adds additional user permissions to the access string.
|
void |
setNoPasswordRequired(Boolean noPasswordRequired)
Indicates no password is required for the user account.
|
void |
setPasswords(Collection<String> passwords)
The passwords belonging to the user account.
|
void |
setUserId(String userId)
The ID of the user.
|
String |
toString()
Returns a string representation of this object.
|
ModifyUserRequest |
withAccessString(String accessString)
Access permissions string used for this user account.
|
ModifyUserRequest |
withAppendAccessString(String appendAccessString)
Adds additional user permissions to the access string.
|
ModifyUserRequest |
withNoPasswordRequired(Boolean noPasswordRequired)
Indicates no password is required for the user account.
|
ModifyUserRequest |
withPasswords(Collection<String> passwords)
The passwords belonging to the user account.
|
ModifyUserRequest |
withPasswords(String... passwords)
The passwords belonging to the user account.
|
ModifyUserRequest |
withUserId(String userId)
The ID of the user.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserId(String userId)
The ID of the user.
userId
- The ID of the user.public String getUserId()
The ID of the user.
public ModifyUserRequest withUserId(String userId)
The ID of the user.
userId
- The ID of the user.public void setAccessString(String accessString)
Access permissions string used for this user account.
accessString
- Access permissions string used for this user account.public String getAccessString()
Access permissions string used for this user account.
public ModifyUserRequest withAccessString(String accessString)
Access permissions string used for this user account.
accessString
- Access permissions string used for this user account.public void setAppendAccessString(String appendAccessString)
Adds additional user permissions to the access string.
appendAccessString
- Adds additional user permissions to the access string.public String getAppendAccessString()
Adds additional user permissions to the access string.
public ModifyUserRequest withAppendAccessString(String appendAccessString)
Adds additional user permissions to the access string.
appendAccessString
- Adds additional user permissions to the access string.public List<String> getPasswords()
The passwords belonging to the user account. You are allowed up to two.
public void setPasswords(Collection<String> passwords)
The passwords belonging to the user account. You are allowed up to two.
passwords
- The passwords belonging to the user account. You are allowed up to two.public ModifyUserRequest withPasswords(String... passwords)
The passwords belonging to the user account. You are allowed up to two.
NOTE: This method appends the values to the existing list (if any). Use
setPasswords(java.util.Collection)
or withPasswords(java.util.Collection)
if you want to
override the existing values.
passwords
- The passwords belonging to the user account. You are allowed up to two.public ModifyUserRequest withPasswords(Collection<String> passwords)
The passwords belonging to the user account. You are allowed up to two.
passwords
- The passwords belonging to the user account. You are allowed up to two.public void setNoPasswordRequired(Boolean noPasswordRequired)
Indicates no password is required for the user account.
noPasswordRequired
- Indicates no password is required for the user account.public Boolean getNoPasswordRequired()
Indicates no password is required for the user account.
public ModifyUserRequest withNoPasswordRequired(Boolean noPasswordRequired)
Indicates no password is required for the user account.
noPasswordRequired
- Indicates no password is required for the user account.public Boolean isNoPasswordRequired()
Indicates no password is required for the user account.
public String toString()
toString
in class Object
Object.toString()
public ModifyUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()