@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.
|
AuthenticationMode |
getAuthenticationMode()
Specifies how to authenticate the 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.
|
List<Tag> |
getTags()
A list of tags to be added to this resource.
|
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 |
setAuthenticationMode(AuthenticationMode authenticationMode)
Specifies how to authenticate the 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 |
setTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
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 |
withAuthenticationMode(AuthenticationMode authenticationMode)
Specifies how to authenticate the 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 |
withTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
CreateUserRequest |
withTags(Tag... tags)
A list of tags to be added to this resource.
|
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 List<Tag> getTags()
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
public void setTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public CreateUserRequest withTags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public CreateUserRequest withTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.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 CreateUserRequest 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 CreateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()