@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ModifyUserResult() |
Modifier and Type | Method and Description |
---|---|
ModifyUserResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccessString()
Access permissions string used for this user.
|
String |
getARN()
The Amazon Resource Name (ARN) of the user.
|
Authentication |
getAuthentication()
Denotes whether the user requires a password to authenticate.
|
String |
getEngine()
The current supported value is Redis.
|
String |
getMinimumEngineVersion()
The minimum engine version required, which is Redis OSS 6.0
|
String |
getStatus()
Indicates the user status.
|
List<String> |
getUserGroupIds()
Returns a list of the user group IDs the user belongs to.
|
String |
getUserId()
The ID of the user.
|
String |
getUserName()
The username of the user.
|
int |
hashCode() |
void |
setAccessString(String accessString)
Access permissions string used for this user.
|
void |
setARN(String aRN)
The Amazon Resource Name (ARN) of the user.
|
void |
setAuthentication(Authentication authentication)
Denotes whether the user requires a password to authenticate.
|
void |
setEngine(String engine)
The current supported value is Redis.
|
void |
setMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis OSS 6.0
|
void |
setStatus(String status)
Indicates the user status.
|
void |
setUserGroupIds(Collection<String> userGroupIds)
Returns a list of the user group IDs the user belongs to.
|
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.
|
ModifyUserResult |
withAccessString(String accessString)
Access permissions string used for this user.
|
ModifyUserResult |
withARN(String aRN)
The Amazon Resource Name (ARN) of the user.
|
ModifyUserResult |
withAuthentication(Authentication authentication)
Denotes whether the user requires a password to authenticate.
|
ModifyUserResult |
withEngine(String engine)
The current supported value is Redis.
|
ModifyUserResult |
withMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis OSS 6.0
|
ModifyUserResult |
withStatus(String status)
Indicates the user status.
|
ModifyUserResult |
withUserGroupIds(Collection<String> userGroupIds)
Returns a list of the user group IDs the user belongs to.
|
ModifyUserResult |
withUserGroupIds(String... userGroupIds)
Returns a list of the user group IDs the user belongs to.
|
ModifyUserResult |
withUserId(String userId)
The ID of the user.
|
ModifyUserResult |
withUserName(String userName)
The username of the user.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 ModifyUserResult 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 ModifyUserResult withUserName(String userName)
The username of the user.
userName
- The username of the user.public void setStatus(String status)
Indicates the user status. Can be "active", "modifying" or "deleting".
status
- Indicates the user status. Can be "active", "modifying" or "deleting".public String getStatus()
Indicates the user status. Can be "active", "modifying" or "deleting".
public ModifyUserResult withStatus(String status)
Indicates the user status. Can be "active", "modifying" or "deleting".
status
- Indicates the user status. Can be "active", "modifying" or "deleting".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 ModifyUserResult withEngine(String engine)
The current supported value is Redis.
engine
- The current supported value is Redis.public void setMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis OSS 6.0
minimumEngineVersion
- The minimum engine version required, which is Redis OSS 6.0public String getMinimumEngineVersion()
The minimum engine version required, which is Redis OSS 6.0
public ModifyUserResult withMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis OSS 6.0
minimumEngineVersion
- The minimum engine version required, which is Redis OSS 6.0public 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 ModifyUserResult withAccessString(String accessString)
Access permissions string used for this user.
accessString
- Access permissions string used for this user.public List<String> getUserGroupIds()
Returns a list of the user group IDs the user belongs to.
public void setUserGroupIds(Collection<String> userGroupIds)
Returns a list of the user group IDs the user belongs to.
userGroupIds
- Returns a list of the user group IDs the user belongs to.public ModifyUserResult withUserGroupIds(String... userGroupIds)
Returns a list of the user group IDs the user belongs to.
NOTE: This method appends the values to the existing list (if any). Use
setUserGroupIds(java.util.Collection)
or withUserGroupIds(java.util.Collection)
if you want to
override the existing values.
userGroupIds
- Returns a list of the user group IDs the user belongs to.public ModifyUserResult withUserGroupIds(Collection<String> userGroupIds)
Returns a list of the user group IDs the user belongs to.
userGroupIds
- Returns a list of the user group IDs the user belongs to.public void setAuthentication(Authentication authentication)
Denotes whether the user requires a password to authenticate.
authentication
- Denotes whether the user requires a password to authenticate.public Authentication getAuthentication()
Denotes whether the user requires a password to authenticate.
public ModifyUserResult withAuthentication(Authentication authentication)
Denotes whether the user requires a password to authenticate.
authentication
- Denotes whether the user requires a password to authenticate.public void setARN(String aRN)
The Amazon Resource Name (ARN) of the user.
aRN
- The Amazon Resource Name (ARN) of the user.public String getARN()
The Amazon Resource Name (ARN) of the user.
public ModifyUserResult withARN(String aRN)
The Amazon Resource Name (ARN) of the user.
aRN
- The Amazon Resource Name (ARN) of the user.public String toString()
toString
in class Object
Object.toString()
public ModifyUserResult clone()