@Generated(value="software.amazon.awssdk:codegen") public final class User extends Object implements SdkPojo, Serializable, ToCopyableBuilder<User.Builder,User>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
User.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessString()
Access permissions string used for this user.
|
List<String> |
aclNames()
The names of the Access Control Lists to which the user belongs
|
String |
arn()
The Amazon Resource Name (ARN) of the user.
|
Authentication |
authentication()
Denotes whether the user requires a password to authenticate.
|
static User.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAclNames()
For responses, this returns true if the service returned a value for the ACLNames property.
|
int |
hashCode() |
String |
minimumEngineVersion()
The minimum engine version supported for the user
|
String |
name()
The name of the user
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends User.Builder> |
serializableBuilderClass() |
String |
status()
Indicates the user status.
|
User.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the user
public final String status()
Indicates the user status. Can be "active", "modifying" or "deleting".
public final String accessString()
Access permissions string used for this user.
public final boolean hasAclNames()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> aclNames()
The names of the Access Control Lists to which the user belongs
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAclNames() method.
public final String minimumEngineVersion()
The minimum engine version supported for the user
public final Authentication authentication()
Denotes whether the user requires a password to authenticate.
public final String arn()
The Amazon Resource Name (ARN) of the user.
public User.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<User.Builder,User>public static User.Builder builder()
public static Class<? extends User.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.