@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateUserGroupResult() |
Modifier and Type | Method and Description |
---|---|
CreateUserGroupResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of the user group.
|
String |
getEngine()
The current supported value is Redis.
|
String |
getMinimumEngineVersion()
The minimum engine version required, which is Redis 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.
|
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 |
setMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis 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 |
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.
|
CreateUserGroupResult |
withARN(String aRN)
The Amazon Resource Name (ARN) of the user group.
|
CreateUserGroupResult |
withEngine(String engine)
The current supported value is Redis.
|
CreateUserGroupResult |
withMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis 6.0
|
CreateUserGroupResult |
withPendingChanges(UserGroupPendingChanges pendingChanges)
A list of updates being applied to the user group.
|
CreateUserGroupResult |
withReplicationGroups(Collection<String> replicationGroups)
A list of replication groups that the user group can access.
|
CreateUserGroupResult |
withReplicationGroups(String... replicationGroups)
A list of replication groups that the user group can access.
|
CreateUserGroupResult |
withStatus(String status)
Indicates user group status.
|
CreateUserGroupResult |
withUserGroupId(String userGroupId)
The ID of the user group.
|
CreateUserGroupResult |
withUserIds(Collection<String> userIds)
The list of user IDs that belong to the user group.
|
CreateUserGroupResult |
withUserIds(String... userIds)
The list of user IDs that belong to the user group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 CreateUserGroupResult 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 CreateUserGroupResult 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 CreateUserGroupResult 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 CreateUserGroupResult 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 CreateUserGroupResult 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 6.0
minimumEngineVersion
- The minimum engine version required, which is Redis 6.0public String getMinimumEngineVersion()
The minimum engine version required, which is Redis 6.0
public CreateUserGroupResult withMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis 6.0
minimumEngineVersion
- The minimum engine version required, which is Redis 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 CreateUserGroupResult 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 CreateUserGroupResult 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 CreateUserGroupResult 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 CreateUserGroupResult 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()
public CreateUserGroupResult clone()