@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 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.
|
CreateUserGroupResult |
withARN(String aRN)
The Amazon Resource Name (ARN) of the user group.
|
CreateUserGroupResult |
withEngine(String engine)
The current supported value is Redis user.
|
CreateUserGroupResult |
withMinimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis OSS 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 |
withServerlessCaches(Collection<String> serverlessCaches)
Indicates which serverless caches the specified user group is associated with.
|
CreateUserGroupResult |
withServerlessCaches(String... serverlessCaches)
Indicates which serverless caches the specified user group is associated with.
|
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 user.
engine
- The current supported value is Redis user.public String getEngine()
The current supported value is Redis user.
public CreateUserGroupResult 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 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 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 CreateUserGroupResult 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 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 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 CreateUserGroupResult 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 CreateUserGroupResult 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 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()