Interface ModifyUserGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyUserGroupResponse.Builder,ModifyUserGroupResponse>,ElastiCacheResponse.Builder,SdkBuilder<ModifyUserGroupResponse.Builder,ModifyUserGroupResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ModifyUserGroupResponse
@Mutable @NotThreadSafe public static interface ModifyUserGroupResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<ModifyUserGroupResponse.Builder,ModifyUserGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ModifyUserGroupResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the user group.ModifyUserGroupResponse.Builderengine(String engine)The options are valkey or redis.ModifyUserGroupResponse.BuilderminimumEngineVersion(String minimumEngineVersion)The minimum engine version required, which is Redis OSS 6.0default ModifyUserGroupResponse.BuilderpendingChanges(Consumer<UserGroupPendingChanges.Builder> pendingChanges)A list of updates being applied to the user group.ModifyUserGroupResponse.BuilderpendingChanges(UserGroupPendingChanges pendingChanges)A list of updates being applied to the user group.ModifyUserGroupResponse.BuilderreplicationGroups(String... replicationGroups)A list of replication groups that the user group can access.ModifyUserGroupResponse.BuilderreplicationGroups(Collection<String> replicationGroups)A list of replication groups that the user group can access.ModifyUserGroupResponse.BuilderserverlessCaches(String... serverlessCaches)Indicates which serverless caches the specified user group is associated with.ModifyUserGroupResponse.BuilderserverlessCaches(Collection<String> serverlessCaches)Indicates which serverless caches the specified user group is associated with.ModifyUserGroupResponse.Builderstatus(String status)Indicates user group status.ModifyUserGroupResponse.BuilderuserGroupId(String userGroupId)The ID of the user group.ModifyUserGroupResponse.BuilderuserIds(String... userIds)The list of user IDs that belong to the user group.ModifyUserGroupResponse.BuilderuserIds(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
userGroupId
ModifyUserGroupResponse.Builder userGroupId(String 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
ModifyUserGroupResponse.Builder status(String 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
ModifyUserGroupResponse.Builder engine(String engine)
The options are valkey or redis.
- Parameters:
engine- The options are valkey or redis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIds
ModifyUserGroupResponse.Builder userIds(Collection<String> 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
ModifyUserGroupResponse.Builder userIds(String... 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
ModifyUserGroupResponse.Builder minimumEngineVersion(String minimumEngineVersion)
The minimum engine version required, which is Redis OSS 6.0
- Parameters:
minimumEngineVersion- The minimum engine version required, which is Redis OSS 6.0- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingChanges
ModifyUserGroupResponse.Builder pendingChanges(UserGroupPendingChanges 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 ModifyUserGroupResponse.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.Builderavoiding the need to create one manually viaUserGroupPendingChanges.builder().When the
Consumercompletes,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:
pendingChanges(UserGroupPendingChanges)
-
replicationGroups
ModifyUserGroupResponse.Builder replicationGroups(Collection<String> 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
ModifyUserGroupResponse.Builder replicationGroups(String... 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
ModifyUserGroupResponse.Builder serverlessCaches(Collection<String> serverlessCaches)
Indicates which serverless caches the specified user group is associated with. Available for Valkey, Redis OSS and Serverless Memcached only.
- Parameters:
serverlessCaches- Indicates which serverless caches the specified user group is associated with. Available for Valkey, Redis OSS and Serverless Memcached only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessCaches
ModifyUserGroupResponse.Builder serverlessCaches(String... serverlessCaches)
Indicates which serverless caches the specified user group is associated with. Available for Valkey, Redis OSS and Serverless Memcached only.
- Parameters:
serverlessCaches- Indicates which serverless caches the specified user group is associated with. Available for Valkey, Redis OSS and Serverless Memcached only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
ModifyUserGroupResponse.Builder arn(String 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.
-
-