@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class User extends Object implements Serializable, Cloneable, StructuredPojo
You create users and assign them specific permissions by using an access string. You assign the users to Access Control Lists aligned with a specific role (administrators, human resources) that are then deployed to one or more MemoryDB clusters.
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
clone() |
boolean |
equals(Object obj) |
String |
getAccessString()
Access permissions string used for this user.
|
List<String> |
getACLNames()
The names of the Access Control Lists to which the user belongs
|
String |
getARN()
The Amazon Resource Name (ARN) of the user.
|
Authentication |
getAuthentication()
Denotes whether the user requires a password to authenticate.
|
String |
getMinimumEngineVersion()
The minimum engine version supported for the user
|
String |
getName()
The name of the user
|
String |
getStatus()
Indicates the user status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessString(String accessString)
Access permissions string used for this user.
|
void |
setACLNames(Collection<String> aCLNames)
The names of the Access Control Lists to which the user belongs
|
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 |
setMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version supported for the user
|
void |
setName(String name)
The name of the user
|
void |
setStatus(String status)
Indicates the user status.
|
String |
toString()
Returns a string representation of this object.
|
User |
withAccessString(String accessString)
Access permissions string used for this user.
|
User |
withACLNames(Collection<String> aCLNames)
The names of the Access Control Lists to which the user belongs
|
User |
withACLNames(String... aCLNames)
The names of the Access Control Lists to which the user belongs
|
User |
withARN(String aRN)
The Amazon Resource Name (ARN) of the user.
|
User |
withAuthentication(Authentication authentication)
Denotes whether the user requires a password to authenticate.
|
User |
withMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version supported for the user
|
User |
withName(String name)
The name of the user
|
User |
withStatus(String status)
Indicates the user status.
|
public void setName(String name)
The name of the user
name
- The name of the userpublic String getName()
The name of the user
public User withName(String name)
The name of the user
name
- The name of the userpublic 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 User 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 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 User withAccessString(String accessString)
Access permissions string used for this user.
accessString
- Access permissions string used for this user.public List<String> getACLNames()
The names of the Access Control Lists to which the user belongs
public void setACLNames(Collection<String> aCLNames)
The names of the Access Control Lists to which the user belongs
aCLNames
- The names of the Access Control Lists to which the user belongspublic User withACLNames(String... aCLNames)
The names of the Access Control Lists to which the user belongs
NOTE: This method appends the values to the existing list (if any). Use
setACLNames(java.util.Collection)
or withACLNames(java.util.Collection)
if you want to override
the existing values.
aCLNames
- The names of the Access Control Lists to which the user belongspublic User withACLNames(Collection<String> aCLNames)
The names of the Access Control Lists to which the user belongs
aCLNames
- The names of the Access Control Lists to which the user belongspublic void setMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version supported for the user
minimumEngineVersion
- The minimum engine version supported for the userpublic String getMinimumEngineVersion()
The minimum engine version supported for the user
public User withMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version supported for the user
minimumEngineVersion
- The minimum engine version supported for the userpublic 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 User 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 User 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.