@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserGroup extends Object implements Serializable, Cloneable
Constructor and Description |
---|
UserGroup() |
Modifier and Type | Method and Description |
---|---|
UserGroup |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of the user group.
|
String |
getEngine()
The current supported value is Redis user.
|
String |
getMinimumEngineVersion()
The minimum engine version required, which is Redis OSS 6.0
|
UserGroupPendingChanges |
getPendingChanges()
A list of updates being applied to the user group.
|
List<String> |
getReplicationGroups()
A list of replication groups that the user group can access.
|
List<String> |
getServerlessCaches()
Indicates which serverless caches the specified user group is associated with.
|
String |
getStatus()
Indicates user group status.
|
String |
getUserGroupId()
The ID of the user group.
|
List<String> |
getUserIds()
The list of user IDs that belong to the user group.
|
int |
hashCode() |
void |
setARN(String aRN)
The Amazon Resource Name (ARN) of the user group.
|
void |
setEngine(String engine)
The current supported value is Redis user.
|
void |
setMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis OSS 6.0
|
void |
setPendingChanges(UserGroupPendingChanges pendingChanges)
A list of updates being applied to the user group.
|
void |
setReplicationGroups(Collection<String> replicationGroups)
A list of replication groups that the user group can access.
|
void |
setServerlessCaches(Collection<String> serverlessCaches)
Indicates which serverless caches the specified user group is associated with.
|
void |
setStatus(String status)
Indicates user group status.
|
void |
setUserGroupId(String userGroupId)
The ID of the user group.
|
void |
setUserIds(Collection<String> userIds)
The list of user IDs that belong to the user group.
|
String |
toString()
Returns a string representation of this object.
|
UserGroup |
withARN(String aRN)
The Amazon Resource Name (ARN) of the user group.
|
UserGroup |
withEngine(String engine)
The current supported value is Redis user.
|
UserGroup |
withMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis OSS 6.0
|
UserGroup |
withPendingChanges(UserGroupPendingChanges pendingChanges)
A list of updates being applied to the user group.
|
UserGroup |
withReplicationGroups(Collection<String> replicationGroups)
A list of replication groups that the user group can access.
|
UserGroup |
withReplicationGroups(String... replicationGroups)
A list of replication groups that the user group can access.
|
UserGroup |
withServerlessCaches(Collection<String> serverlessCaches)
Indicates which serverless caches the specified user group is associated with.
|
UserGroup |
withServerlessCaches(String... serverlessCaches)
Indicates which serverless caches the specified user group is associated with.
|
UserGroup |
withStatus(String status)
Indicates user group status.
|
UserGroup |
withUserGroupId(String userGroupId)
The ID of the user group.
|
UserGroup |
withUserIds(Collection<String> userIds)
The list of user IDs that belong to the user group.
|
UserGroup |
withUserIds(String... userIds)
The list of user IDs that belong to the user group.
|
public void setUserGroupId(String userGroupId)
The ID of the user group.
userGroupId
- The ID of the user group.public String getUserGroupId()
The ID of the user group.
public UserGroup withUserGroupId(String userGroupId)
The ID of the user group.
userGroupId
- The ID of the user group.public void setStatus(String status)
Indicates user group status. Can be "creating", "active", "modifying", "deleting".
status
- Indicates user group status. Can be "creating", "active", "modifying", "deleting".public String getStatus()
Indicates user group status. Can be "creating", "active", "modifying", "deleting".
public UserGroup withStatus(String status)
Indicates user group status. Can be "creating", "active", "modifying", "deleting".
status
- Indicates user group status. Can be "creating", "active", "modifying", "deleting".public void setEngine(String engine)
The current supported value is Redis user.
engine
- The current supported value is Redis user.public String getEngine()
The current supported value is Redis user.
public UserGroup withEngine(String engine)
The current supported value is Redis user.
engine
- The current supported value is Redis user.public List<String> getUserIds()
The list of user IDs that belong to the user group.
public void setUserIds(Collection<String> userIds)
The list of user IDs that belong to the user group.
userIds
- The list of user IDs that belong to the user group.public UserGroup withUserIds(String... userIds)
The list of user IDs that belong to the user group.
NOTE: This method appends the values to the existing list (if any). Use
setUserIds(java.util.Collection)
or withUserIds(java.util.Collection)
if you want to override
the existing values.
userIds
- The list of user IDs that belong to the user group.public UserGroup withUserIds(Collection<String> userIds)
The list of user IDs that belong to the user group.
userIds
- The list of user IDs that belong to the user group.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 UserGroup 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 setPendingChanges(UserGroupPendingChanges pendingChanges)
A list of updates being applied to the user group.
pendingChanges
- A list of updates being applied to the user group.public UserGroupPendingChanges getPendingChanges()
A list of updates being applied to the user group.
public UserGroup withPendingChanges(UserGroupPendingChanges pendingChanges)
A list of updates being applied to the user group.
pendingChanges
- A list of updates being applied to the user group.public List<String> getReplicationGroups()
A list of replication groups that the user group can access.
public void setReplicationGroups(Collection<String> replicationGroups)
A list of replication groups that the user group can access.
replicationGroups
- A list of replication groups that the user group can access.public UserGroup withReplicationGroups(String... replicationGroups)
A list of replication groups that the user group can access.
NOTE: This method appends the values to the existing list (if any). Use
setReplicationGroups(java.util.Collection)
or withReplicationGroups(java.util.Collection)
if
you want to override the existing values.
replicationGroups
- A list of replication groups that the user group can access.public UserGroup withReplicationGroups(Collection<String> replicationGroups)
A list of replication groups that the user group can access.
replicationGroups
- A list of replication groups that the user group can access.public List<String> getServerlessCaches()
Indicates which serverless caches the specified user group is associated with. Available for Redis OSS and Serverless Memcached only.
public void setServerlessCaches(Collection<String> serverlessCaches)
Indicates which serverless caches the specified user group is associated with. Available for Redis OSS and Serverless Memcached only.
serverlessCaches
- Indicates which serverless caches the specified user group is associated with. Available for Redis OSS and
Serverless Memcached only.public UserGroup withServerlessCaches(String... serverlessCaches)
Indicates which serverless caches the specified user group is associated with. Available for Redis OSS and Serverless Memcached only.
NOTE: This method appends the values to the existing list (if any). Use
setServerlessCaches(java.util.Collection)
or withServerlessCaches(java.util.Collection)
if you
want to override the existing values.
serverlessCaches
- Indicates which serverless caches the specified user group is associated with. Available for Redis OSS and
Serverless Memcached only.public UserGroup withServerlessCaches(Collection<String> serverlessCaches)
Indicates which serverless caches the specified user group is associated with. Available for Redis OSS and Serverless Memcached only.
serverlessCaches
- Indicates which serverless caches the specified user group is associated with. Available for Redis OSS and
Serverless Memcached only.public void setARN(String aRN)
The Amazon Resource Name (ARN) of the user group.
aRN
- The Amazon Resource Name (ARN) of the user group.public String getARN()
The Amazon Resource Name (ARN) of the user group.
public UserGroup withARN(String aRN)
The Amazon Resource Name (ARN) of the user group.
aRN
- The Amazon Resource Name (ARN) of the user group.public String toString()
toString
in class Object
Object.toString()