@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateUserRequest() |
Modifier and Type | Method and Description |
---|---|
CreateUserRequest |
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 |
getEngine()
Must be Redis.
|
Boolean |
getNoPasswordRequired()
Indicates a password is not required for this user account.
|
List<String> |
getPasswords()
Passwords used for this user account.
|
String |
getUserId()
The ID of the user.
|
String |
getUserName()
The username of the user.
|
int |
hashCode() |
Boolean |
isNoPasswordRequired()
Indicates a password is not required for this user account.
|
void |
setAccessString(String accessString)
Access permissions string used for this user account.
|
void |
setEngine(String engine)
Must be Redis.
|
void |
setNoPasswordRequired(Boolean noPasswordRequired)
Indicates a password is not required for this user account.
|
void |
setPasswords(Collection<String> passwords)
Passwords used for this user account.
|
void |
setUserId(String userId)
The ID of the user.
|
void |
setUserName(String userName)
The username of the user.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserRequest |
withAccessString(String accessString)
Access permissions string used for this user account.
|
CreateUserRequest |
withEngine(String engine)
Must be Redis.
|
CreateUserRequest |
withNoPasswordRequired(Boolean noPasswordRequired)
Indicates a password is not required for this user account.
|
CreateUserRequest |
withPasswords(Collection<String> passwords)
Passwords used for this user account.
|
CreateUserRequest |
withPasswords(String... passwords)
Passwords used for this user account.
|
CreateUserRequest |
withUserId(String userId)
The ID of the user.
|
CreateUserRequest |
withUserName(String userName)
The username 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 CreateUserRequest withUserId(String userId)
The ID of the user.
userId
- The ID of the user.public void setUserName(String userName)
The username of the user.
userName
- The username of the user.public String getUserName()
The username of the user.
public CreateUserRequest withUserName(String userName)
The username of the user.
userName
- The username of the user.public void setEngine(String engine)
Must be Redis.
engine
- Must be Redis.public String getEngine()
Must be Redis.
public CreateUserRequest withEngine(String engine)
Must be Redis.
engine
- Must be Redis.public List<String> getPasswords()
Passwords used for this user account. You can create up to two passwords for each user.
public void setPasswords(Collection<String> passwords)
Passwords used for this user account. You can create up to two passwords for each user.
passwords
- Passwords used for this user account. You can create up to two passwords for each user.public CreateUserRequest withPasswords(String... passwords)
Passwords used for this user account. You can create up to two passwords for each user.
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
- Passwords used for this user account. You can create up to two passwords for each user.public CreateUserRequest withPasswords(Collection<String> passwords)
Passwords used for this user account. You can create up to two passwords for each user.
passwords
- Passwords used for this user account. You can create up to two passwords for each 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 CreateUserRequest withAccessString(String accessString)
Access permissions string used for this user account.
accessString
- Access permissions string used for this user account.public void setNoPasswordRequired(Boolean noPasswordRequired)
Indicates a password is not required for this user account.
noPasswordRequired
- Indicates a password is not required for this user account.public Boolean getNoPasswordRequired()
Indicates a password is not required for this user account.
public CreateUserRequest withNoPasswordRequired(Boolean noPasswordRequired)
Indicates a password is not required for this user account.
noPasswordRequired
- Indicates a password is not required for this user account.public Boolean isNoPasswordRequired()
Indicates a password is not required for this user account.
public String toString()
toString
in class Object
Object.toString()
public CreateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()