@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.
|
String |
getEngine()
The current supported value is Redis.
|
Boolean |
getNoPasswordRequired()
Indicates a password is not required for this user.
|
List<String> |
getPasswords()
Passwords used for this user.
|
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.
|
void |
setAccessString(String accessString)
Access permissions string used for this user.
|
void |
setEngine(String engine)
The current supported value is Redis.
|
void |
setNoPasswordRequired(Boolean noPasswordRequired)
Indicates a password is not required for this user.
|
void |
setPasswords(Collection<String> passwords)
Passwords used for this user.
|
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.
|
CreateUserRequest |
withEngine(String engine)
The current supported value is Redis.
|
CreateUserRequest |
withNoPasswordRequired(Boolean noPasswordRequired)
Indicates a password is not required for this user.
|
CreateUserRequest |
withPasswords(Collection<String> passwords)
Passwords used for this user.
|
CreateUserRequest |
withPasswords(String... passwords)
Passwords used for this user.
|
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)
The current supported value is Redis.
engine
- The current supported value is Redis.public String getEngine()
The current supported value is Redis.
public CreateUserRequest withEngine(String engine)
The current supported value is Redis.
engine
- The current supported value is Redis.public List<String> getPasswords()
Passwords used for this user. You can create up to two passwords for each user.
public void setPasswords(Collection<String> passwords)
Passwords used for this user. You can create up to two passwords for each user.
passwords
- Passwords used for this user. You can create up to two passwords for each user.public CreateUserRequest withPasswords(String... passwords)
Passwords used for this user. 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. You can create up to two passwords for each user.public CreateUserRequest withPasswords(Collection<String> passwords)
Passwords used for this user. You can create up to two passwords for each user.
passwords
- Passwords used for this user. You can create up to two passwords for each 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 CreateUserRequest withAccessString(String accessString)
Access permissions string used for this user.
accessString
- Access permissions string used for this user.public void setNoPasswordRequired(Boolean noPasswordRequired)
Indicates a password is not required for this user.
noPasswordRequired
- Indicates a password is not required for this user.public Boolean getNoPasswordRequired()
Indicates a password is not required for this user.
public CreateUserRequest withNoPasswordRequired(Boolean noPasswordRequired)
Indicates a password is not required for this user.
noPasswordRequired
- Indicates a password is not required for this user.public Boolean isNoPasswordRequired()
Indicates a password is not required for this user.
public String toString()
toString
in class Object
Object.toString()
public CreateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()