Interface CreateUserGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateUserGroupResponse.Builder,
,CreateUserGroupResponse> ElastiCacheResponse.Builder
,SdkBuilder<CreateUserGroupResponse.Builder,
,CreateUserGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateUserGroupResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the user group.The current supported value is Redis.minimumEngineVersion
(String minimumEngineVersion) The minimum engine version required, which is Redis 6.0default CreateUserGroupResponse.Builder
pendingChanges
(Consumer<UserGroupPendingChanges.Builder> pendingChanges) A list of updates being applied to the user group.pendingChanges
(UserGroupPendingChanges pendingChanges) A list of updates being applied to the user group.replicationGroups
(String... replicationGroups) A list of replication groups that the user group can access.replicationGroups
(Collection<String> replicationGroups) A list of replication groups that the user group can access.serverlessCaches
(String... serverlessCaches) Indicates which serverless caches the specified user group is associated with.serverlessCaches
(Collection<String> serverlessCaches) Indicates which serverless caches the specified user group is associated with.Indicates user group status.userGroupId
(String userGroupId) The ID of the user group.The list of user IDs that belong to the user group.userIds
(Collection<String> userIds) The list of user IDs that belong to the user group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
userGroupId
The ID of the user group.
- Parameters:
userGroupId
- The ID of the user group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Indicates user group status. Can be "creating", "active", "modifying", "deleting".
- Parameters:
status
- Indicates user group status. Can be "creating", "active", "modifying", "deleting".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
The current supported value is Redis.
- Parameters:
engine
- The current supported value is Redis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIds
The list of user IDs that belong to the user group.
- Parameters:
userIds
- The list of user IDs that belong to the user group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIds
The list of user IDs that belong to the user group.
- Parameters:
userIds
- The list of user IDs that belong to the user group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimumEngineVersion
The minimum engine version required, which is Redis 6.0
- Parameters:
minimumEngineVersion
- The minimum engine version required, which is Redis 6.0- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingChanges
A list of updates being applied to the user group.
- Parameters:
pendingChanges
- A list of updates being applied to the user group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingChanges
default CreateUserGroupResponse.Builder pendingChanges(Consumer<UserGroupPendingChanges.Builder> pendingChanges) A list of updates being applied to the user group.
This is a convenience method that creates an instance of theUserGroupPendingChanges.Builder
avoiding the need to create one manually viaUserGroupPendingChanges.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingChanges(UserGroupPendingChanges)
.- Parameters:
pendingChanges
- a consumer that will call methods onUserGroupPendingChanges.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationGroups
A list of replication groups that the user group can access.
- Parameters:
replicationGroups
- A list of replication groups that the user group can access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationGroups
A list of replication groups that the user group can access.
- Parameters:
replicationGroups
- A list of replication groups that the user group can access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessCaches
Indicates which serverless caches the specified user group is associated with. Available for Redis only.
- Parameters:
serverlessCaches
- Indicates which serverless caches the specified user group is associated with. Available for Redis only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessCaches
Indicates which serverless caches the specified user group is associated with. Available for Redis only.
- Parameters:
serverlessCaches
- Indicates which serverless caches the specified user group is associated with. Available for Redis only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the user group.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the user group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-