@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.
|
UserGroupPendingChanges |
getPendingChanges()
A list of updates being applied to the user groups.
|
List<String> |
getReplicationGroups()
A list of replication groups that the user group can access.
|
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.
|
void |
setPendingChanges(UserGroupPendingChanges pendingChanges)
A list of updates being applied to the user groups.
|
void |
setReplicationGroups(Collection<String> replicationGroups)
A list of replication groups that the user group can access.
|
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.
|
UserGroup |
withPendingChanges(UserGroupPendingChanges pendingChanges)
A list of updates being applied to the user groups.
|
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 |
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.
engine
- The current supported value is Redis.public String getEngine()
The current supported value is Redis.
public UserGroup withEngine(String engine)
The current supported value is Redis.
engine
- The current supported value is Redis.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 setPendingChanges(UserGroupPendingChanges pendingChanges)
A list of updates being applied to the user groups.
pendingChanges
- A list of updates being applied to the user groups.public UserGroupPendingChanges getPendingChanges()
A list of updates being applied to the user groups.
public UserGroup withPendingChanges(UserGroupPendingChanges pendingChanges)
A list of updates being applied to the user groups.
pendingChanges
- A list of updates being applied to the user groups.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 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()