@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.
|
String |
getAppendAccessString()
Adds additional user permissions to the access string.
|
AuthenticationMode |
getAuthenticationMode()
Specifies how to authenticate the user.
|
Boolean |
getNoPasswordRequired()
Indicates no password is required for the user.
|
List<String> |
getPasswords()
The passwords belonging to the user.
|
String |
getUserId()
The ID of the user.
|
int |
hashCode() |
Boolean |
isNoPasswordRequired()
Indicates no password is required for the user.
|
void |
setAccessString(String accessString)
Access permissions string used for this user.
|
void |
setAppendAccessString(String appendAccessString)
Adds additional user permissions to the access string.
|
void |
setAuthenticationMode(AuthenticationMode authenticationMode)
Specifies how to authenticate the user.
|
void |
setNoPasswordRequired(Boolean noPasswordRequired)
Indicates no password is required for the user.
|
void |
setPasswords(Collection<String> passwords)
The passwords belonging to the user.
|
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.
|
ModifyUserRequest |
withAppendAccessString(String appendAccessString)
Adds additional user permissions to the access string.
|
ModifyUserRequest |
withAuthenticationMode(AuthenticationMode authenticationMode)
Specifies how to authenticate the user.
|
ModifyUserRequest |
withNoPasswordRequired(Boolean noPasswordRequired)
Indicates no password is required for the user.
|
ModifyUserRequest |
withPasswords(Collection<String> passwords)
The passwords belonging to the user.
|
ModifyUserRequest |
withPasswords(String... passwords)
The passwords belonging to the user.
|
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.
accessString
- Access permissions string used for this user.public String getAccessString()
Access permissions string used for this user.
public ModifyUserRequest withAccessString(String accessString)
Access permissions string used for this user.
accessString
- Access permissions string used for this user.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. You are allowed up to two.
public void setPasswords(Collection<String> passwords)
The passwords belonging to the user. You are allowed up to two.
passwords
- The passwords belonging to the user. You are allowed up to two.public ModifyUserRequest withPasswords(String... passwords)
The passwords belonging to the user. 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. You are allowed up to two.public ModifyUserRequest withPasswords(Collection<String> passwords)
The passwords belonging to the user. You are allowed up to two.
passwords
- The passwords belonging to the user. You are allowed up to two.public void setNoPasswordRequired(Boolean noPasswordRequired)
Indicates no password is required for the user.
noPasswordRequired
- Indicates no password is required for the user.public Boolean getNoPasswordRequired()
Indicates no password is required for the user.
public ModifyUserRequest withNoPasswordRequired(Boolean noPasswordRequired)
Indicates no password is required for the user.
noPasswordRequired
- Indicates no password is required for the user.public Boolean isNoPasswordRequired()
Indicates no password is required for the user.
public void setAuthenticationMode(AuthenticationMode authenticationMode)
Specifies how to authenticate the user.
authenticationMode
- Specifies how to authenticate the user.public AuthenticationMode getAuthenticationMode()
Specifies how to authenticate the user.
public ModifyUserRequest withAuthenticationMode(AuthenticationMode authenticationMode)
Specifies how to authenticate the user.
authenticationMode
- Specifies how to authenticate the user.public String toString()
toString
in class Object
Object.toString()
public ModifyUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()